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 SummaryModifier 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.InvokeinvokeMethods inherited from interface com.github.mizool.core.concurrent.SynchronizerApi.Get.SleepInvokethenSleepUntil, thenSleepUntil
- 
Method Details- 
andWakeOthersSynchronizerApi.Get.SleepInvoke<T> andWakeOthers()Description copied from interface:SynchronizerApi.Base.WakeSleepInvokeAdds an action which wakes other chains.- Specified by:
- andWakeOthersin interface- SynchronizerApi.Base.WakeSleepInvoke
 
- 
andWakeOthersIfAdds an action which conditionally wakes other chains.- Parameters:
- predicate- a test for the result of the main action that returns- trueif this action chain should wake other chains,- falseotherwise.
- Throws:
- NullPointerException- if- predicateis null
 
 
-