Package org.apache.cassandra.concurrent
Interface SequentialExecutorPlus.AtLeastOnceTrigger
-
- All Known Implementing Classes:
SingleThreadExecutorPlus.AtLeastOnce
- Enclosing interface:
- SequentialExecutorPlus
public static interface SequentialExecutorPlus.AtLeastOnceTrigger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
runAfter(java.lang.Runnable run)
Run the provided task after all queued and executing jobs have completedvoid
sync()
Wait until all queued and executing jobs have completedboolean
trigger()
Ensure the job is run at least once in its entirety after this method is invoked (including any already queued)
-
-
-
Method Detail
-
trigger
boolean trigger()
Ensure the job is run at least once in its entirety after this method is invoked (including any already queued)
-
runAfter
void runAfter(java.lang.Runnable run)
Run the provided task after all queued and executing jobs have completed
-
sync
void sync()
Wait until all queued and executing jobs have completed
-
-