Klasse ForMaxMillisecondsMediator
java.lang.Object
ch.nolix.core.programcontrol.flowcontrol.ForMaxMillisecondsMediator
- Alle implementierten Schnittstellen:
IForMaxMillisecondsMediator
A
ForMaxMillisecondsMediator is not mutable.- Version:
- 2019-11-24
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasLongAs(BooleanSupplier condition) until(BooleanSupplier condition) voidwaitAsLongAs(BooleanSupplier condition) Waits until the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatoris reached or the given condition is unfulfilled.voidwaitUntil(BooleanSupplier condition) Waits until the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatoris reached or the given condition is fulfilled.
-
Methodendetails
-
asLongAs
- Angegeben von:
asLongAsin SchnittstelleIForMaxMillisecondsMediator- Parameter:
condition-- Gibt zurück:
- a new
IAsLongAsMediatorfor the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatorand for the given condition.
-
until
- Angegeben von:
untilin SchnittstelleIForMaxMillisecondsMediator- Parameter:
condition-- Gibt zurück:
- a new
IAsLongAsMediatorfor the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatorand for the given condition.
-
waitAsLongAs
Waits until the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatoris reached or the given condition is unfulfilled.- Angegeben von:
waitAsLongAsin SchnittstelleIForMaxMillisecondsMediator- Parameter:
condition-
-
waitUntil
Waits until the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatoris reached or the given condition is fulfilled.- Angegeben von:
waitUntilin SchnittstelleIForMaxMillisecondsMediator- Parameter:
condition-
-