Package gollorum.signpost.utils
Klasse Delay
java.lang.Object
gollorum.signpost.utils.Delay
- Alle implementierten Schnittstellen:
IDelay
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidforFramesImpl(int frames, boolean onClient, Runnable run) voidonClientUntilImpl(Supplier<Boolean> canRun, Runnable run) voidonClientUntilImpl(Supplier<Boolean> canRun, Runnable run, int timeoutFrames, Optional<Runnable> onTimeOut) <T> voidonClientUntilIsPresentImpl(Supplier<Optional<T>> supplier, Consumer<T> run, int timeoutFrames, Optional<Runnable> onTimeOut) voidonServerUntilImpl(Supplier<Boolean> canRun, Runnable run) voidonServerUntilImpl(Supplier<Boolean> canRun, Runnable run, int timeoutFrames, Optional<Runnable> onTimeOut) <T> voidonServerUntilIsPresentImpl(Supplier<Optional<T>> supplier, Consumer<T> run, int timeoutFrames, Optional<Runnable> onTimeOut)
-
Felddetails
-
INSTANCE
-
-
Konstruktordetails
-
Delay
public Delay()
-
-
Methodendetails
-
forFramesImpl
- Angegeben von:
forFramesImplin SchnittstelleIDelay
-
onServerUntilImpl
- Angegeben von:
onServerUntilImplin SchnittstelleIDelay
-
onClientUntilImpl
- Angegeben von:
onClientUntilImplin SchnittstelleIDelay
-
onServerUntilImpl
public void onServerUntilImpl(Supplier<Boolean> canRun, Runnable run, int timeoutFrames, Optional<Runnable> onTimeOut) - Angegeben von:
onServerUntilImplin SchnittstelleIDelay
-
onClientUntilImpl
public void onClientUntilImpl(Supplier<Boolean> canRun, Runnable run, int timeoutFrames, Optional<Runnable> onTimeOut) - Angegeben von:
onClientUntilImplin SchnittstelleIDelay
-
onServerUntilIsPresentImpl
public <T> void onServerUntilIsPresentImpl(Supplier<Optional<T>> supplier, Consumer<T> run, int timeoutFrames, Optional<Runnable> onTimeOut) - Angegeben von:
onServerUntilIsPresentImplin SchnittstelleIDelay
-
onClientUntilIsPresentImpl
public <T> void onClientUntilIsPresentImpl(Supplier<Optional<T>> supplier, Consumer<T> run, int timeoutFrames, Optional<Runnable> onTimeOut) - Angegeben von:
onClientUntilIsPresentImplin SchnittstelleIDelay
-