
public class SubScheduledExecutorService extends SubExecutorService implements ScheduledExecutorService
SubExecutorService. Supports delegation to ScheduledThreadPoolExecutor only.| Modifier and Type | Class and Description |
|---|---|
protected class |
SubScheduledExecutorService.ScheduledCallableTask<V> |
protected class |
SubScheduledExecutorService.ScheduledRunnableTask<V> |
protected static interface |
SubScheduledExecutorService.ScheduledTask<V> |
SubExecutorService.CallableTask<V>, SubExecutorService.RunnableTask<V>, SubExecutorService.Task<V>| Constructor and Description |
|---|
SubScheduledExecutorService(ScheduledThreadPoolExecutor executorService)
Constructs a new SubExecutorService for the given executor service.
|
| Modifier and Type | Method and Description |
|---|---|
protected ScheduledThreadPoolExecutor |
getExecutorService() |
<V> ScheduledFuture<V> |
schedule(Callable<V> callable,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
protected void |
shutdownTasks(Set<SubExecutorService.Task> tasks) |
acquireAlive, awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isAlive, isRunning, isShutdown, isTerminated, register, releaseAlive, shutdown, shutdownNow, submit, submit, submit, throwRejected, toString, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitpublic SubScheduledExecutorService(ScheduledThreadPoolExecutor executorService)
executorService - the underlying executor service to submit tasks topublic ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface ScheduledExecutorServicepublic <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
schedule in interface ScheduledExecutorServicepublic ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface ScheduledExecutorServicepublic ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
scheduleWithFixedDelay in interface ScheduledExecutorServiceprotected ScheduledThreadPoolExecutor getExecutorService()
getExecutorService in class SubExecutorServiceprotected void shutdownTasks(Set<SubExecutorService.Task> tasks)
shutdownTasks in class SubExecutorServiceCopyright © 2009–2025 OrientDB. All rights reserved.