Interface SynchronizerApi.RunGet
-
- All Superinterfaces:
SynchronizerApi.Fluent
- All Known Subinterfaces:
SynchronizerApi.RunGetInvoke,SynchronizerApi.SleepRunGet
- All Known Implementing Classes:
Synchronizer
- Enclosing interface:
- SynchronizerApi
public static interface SynchronizerApi.RunGet extends SynchronizerApi.Fluent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> SynchronizerApi.Get.WakeSleepInvoke<T>get(Supplier<T> getter)Sets the givenSupplieras the main action of the chain.SynchronizerApi.Run.WakeSleepInvokerun(Runnable runnable)Sets the givenRunnableas the main action of the chain.
-
-
-
Method Detail
-
run
SynchronizerApi.Run.WakeSleepInvoke run(Runnable runnable)
Sets the givenRunnableas the main action of the chain.- Parameters:
runnable- the action to perform- Throws:
NullPointerException- ifrunnableis null
-
get
<T> SynchronizerApi.Get.WakeSleepInvoke<T> get(Supplier<T> getter)
Sets the givenSupplieras the main action of the chain.- Parameters:
getter- the action to perform- Throws:
NullPointerException- ifgetteris null
-
-