Package org.apache.cassandra.concurrent
Interface ScheduledExecutorPlus
-
- All Superinterfaces:
java.util.concurrent.Executor
,ExecutorPlus
,java.util.concurrent.ExecutorService
,ResizableThreadPool
,java.util.concurrent.ScheduledExecutorService
- All Known Implementing Classes:
ScheduledThreadPoolExecutorPlus
public interface ScheduledExecutorPlus extends ExecutorPlus, java.util.concurrent.ScheduledExecutorService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.concurrent.ExecutorPlus
ExecutorPlus.MaximumPoolSizeListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.ScheduledFuture<?>
scheduleAt(java.lang.Runnable run, long deadline)
Schedule a timeout action.java.util.concurrent.ScheduledFuture<?>
scheduleSelfRecurring(java.lang.Runnable run, long delay, java.util.concurrent.TimeUnit units)
Schedule an action that is recurring but self-administered.java.util.concurrent.ScheduledFuture<?>
scheduleTimeoutAt(java.lang.Runnable run, long deadline)
Schedule a timeout action.java.util.concurrent.ScheduledFuture<?>
scheduleTimeoutWithDelay(java.lang.Runnable run, long delay, java.util.concurrent.TimeUnit units)
Schedule a timeout action.-
Methods inherited from interface org.apache.cassandra.concurrent.ExecutorPlus
execute, inExecutor, invokeAll, invokeAll, invokeAny, invokeAny, maybeExecuteImmediately, submit, submit, submit, submit, submit, submit
-
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Methods inherited from interface org.apache.cassandra.concurrent.ResizableThreadPool
getActiveTaskCount, getCompletedTaskCount, getCorePoolSize, getMaximumPoolSize, getMaxTasksQueued, getPendingTaskCount, oldestTaskQueueTime, setCorePoolSize, setMaximumPoolSize
-
-
-
-
Method Detail
-
scheduleSelfRecurring
java.util.concurrent.ScheduledFuture<?> scheduleSelfRecurring(java.lang.Runnable run, long delay, java.util.concurrent.TimeUnit units)
Schedule an action that is recurring but self-administered.
-
scheduleAt
java.util.concurrent.ScheduledFuture<?> scheduleAt(java.lang.Runnable run, long deadline)
Schedule a timeout action. This method is primarily used by the Simulator to modify its scheduling behaviour with respect to this operation.
-
scheduleTimeoutAt
java.util.concurrent.ScheduledFuture<?> scheduleTimeoutAt(java.lang.Runnable run, long deadline)
Schedule a timeout action. This method is primarily used by the Simulator to modify its scheduling behaviour with respect to this operation.
-
scheduleTimeoutWithDelay
java.util.concurrent.ScheduledFuture<?> scheduleTimeoutWithDelay(java.lang.Runnable run, long delay, java.util.concurrent.TimeUnit units)
Schedule a timeout action. This method is primarily used by the Simulator to modify its scheduling behaviour with respect to this operation.
-
-