Package org.apache.cassandra.concurrent
Interface ScheduledExecutorPlus
- All Superinterfaces:
Executor,ExecutorPlus,ExecutorService,ResizableThreadPool,ScheduledExecutorService
- All Known Implementing Classes:
ScheduledThreadPoolExecutorPlus
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.concurrent.ExecutorPlus
ExecutorPlus.MaximumPoolSizeListener -
Method Summary
Modifier and TypeMethodDescriptionscheduleAt(Runnable run, long deadline) Schedule a timeout action.scheduleSelfRecurring(Runnable run, long delay, TimeUnit units) Schedule an action that is recurring but self-administered.scheduleTimeoutAt(Runnable run, long deadline) Schedule a timeout action.scheduleTimeoutWithDelay(Runnable run, long delay, 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, submitMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNowMethods inherited from interface org.apache.cassandra.concurrent.ResizableThreadPool
getActiveTaskCount, getCompletedTaskCount, getCorePoolSize, getMaximumPoolSize, getMaxTasksQueued, getPendingTaskCount, oldestTaskQueueTime, setCorePoolSize, setMaximumPoolSizeMethods inherited from interface java.util.concurrent.ScheduledExecutorService
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
-
Method Details
-
scheduleSelfRecurring
Schedule an action that is recurring but self-administered. -
scheduleAt
Schedule a timeout action. This method is primarily used by the Simulator to modify its scheduling behaviour with respect to this operation. -
scheduleTimeoutAt
Schedule a timeout action. This method is primarily used by the Simulator to modify its scheduling behaviour with respect to this operation. -
scheduleTimeoutWithDelay
Schedule a timeout action. This method is primarily used by the Simulator to modify its scheduling behaviour with respect to this operation.
-