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
Modifier and TypeMethodDescriptionAdds an action which wakes other chains.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 Details
-
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
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
-