Klasse ForCountMediator
java.lang.Object
ch.nolix.core.programcontrol.flowcontrol.ForCountMediator
- Alle implementierten Schnittstellen:
IForCountMediator
A
ForCountMediator is not mutable.- Version:
- 2016-06-01
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ForCountMediatorforMaxRunCount(int maxRunCount) voidLets the currentIForCountMediatorrun the given job.voidrun(IntConsumer job) Lets the currentIForCountMediatorrun the given job.runInBackground(Runnable job) Lets the currentIForCountMediatorrun the given job in background.
-
Methodendetails
-
forMaxRunCount
- Parameter:
maxRunCount-- Gibt zurück:
- a new
ForCountMediatorwith the given maxRunCount. - Löst aus:
NegativeArgumentException- if the given maxRunCount is negative.
-
run
Lets the currentIForCountMediatorrun the given job.- Angegeben von:
runin SchnittstelleIForCountMediator- Parameter:
job-
-
run
Lets the currentIForCountMediatorrun the given job.- Angegeben von:
runin SchnittstelleIForCountMediator- Parameter:
job-
-
runInBackground
Lets the currentIForCountMediatorrun the given job in background.- Angegeben von:
runInBackgroundin SchnittstelleIForCountMediator- Parameter:
job-- Gibt zurück:
- a new
IFuturefor the job execution.
-