Interface SynchronizerApi.Get.WakeSleepInvoke<T>
-
- All Superinterfaces:
SynchronizerApi.Base.SleepInvoke
,SynchronizerApi.Base.WakeSleepInvoke
,SynchronizerApi.Fluent
,SynchronizerApi.Get.Invoke<T>
,SynchronizerApi.Get.SleepInvoke<T>
- Enclosing interface:
- SynchronizerApi.Get
public static interface SynchronizerApi.Get.WakeSleepInvoke<T> extends SynchronizerApi.Get.SleepInvoke<T>, SynchronizerApi.Base.WakeSleepInvoke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SynchronizerApi.Get.SleepInvoke<T>
andWakeOthers()
Adds an action which wakes other chains.SynchronizerApi.Get.SleepInvoke<T>
andWakeOthersIf(Predicate<T> predicate)
Adds an action which conditionally wakes other chains.-
Methods inherited from interface com.github.mizool.core.concurrent.SynchronizerApi.Get.Invoke
invoke
-
Methods inherited from interface com.github.mizool.core.concurrent.SynchronizerApi.Get.SleepInvoke
thenSleepUntil, thenSleepUntil
-
-
-
-
Method Detail
-
andWakeOthers
SynchronizerApi.Get.SleepInvoke<T> andWakeOthers()
Description copied from interface:SynchronizerApi.Base.WakeSleepInvoke
Adds an action which wakes other chains.- Specified by:
andWakeOthers
in interfaceSynchronizerApi.Base.WakeSleepInvoke
-
andWakeOthersIf
SynchronizerApi.Get.SleepInvoke<T> andWakeOthersIf(Predicate<T> predicate)
Adds an action which conditionally wakes other chains.- Parameters:
predicate
- a test for the result of the main action that returnstrue
if this action chain should wake other chains,false
otherwise.- Throws:
NullPointerException
- ifpredicate
is null
-
-