Interface SynchronizerApi.Get.WakeSleepInvoke<T>
-
- All Superinterfaces:
SynchronizerApi.Base.SleepInvoke,SynchronizerApi.Base.WakeSleepInvoke,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
-
-
-
-
Method Detail
-
andWakeOthers
SynchronizerApi.Get.SleepInvoke<T> andWakeOthers()
Description copied from interface:SynchronizerApi.Base.WakeSleepInvokeAdds an action which wakes other chains.- Specified by:
andWakeOthersin 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 returnstrueif this action chain should wake other chains,falseotherwise.- Throws:
NullPointerException- ifpredicateis null
-
-