Schnittstelle IForMaxMillisecondsMediator
- Alle bekannten Implementierungsklassen:
ForMaxMillisecondsMediator
public interface IForMaxMillisecondsMediator
- Version:
- 2025-07-28
- 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
- Parameter:
condition-- Gibt zurück:
- a new
IAsLongAsMediatorfor the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatorand for the given condition. - Löst aus:
RuntimeException- if the given condition is null.
-
until
- Parameter:
condition-- Gibt zurück:
- a new
IAsLongAsMediatorfor the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatorand for the given condition. - Löst aus:
RuntimeException- if the given condition is null.
-
waitAsLongAs
Waits until the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatoris reached or the given condition is unfulfilled.- Parameter:
condition-- Löst aus:
RuntimeException- if the given condition is null.
-
waitUntil
Waits until the maxDurationInMilliseconds of the currentIForMaxMillisecondsMediatoris reached or the given condition is fulfilled.- Parameter:
condition-- Löst aus:
RuntimeException- if the given condition is null.
-