public class ManagedScheduledExecutorService extends ManagedExecutorService implements ScheduledExecutorService
| Constructor and Description |
|---|
ManagedScheduledExecutorService(ScheduledThreadPoolExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveCount() |
long |
getCompletedTaskCount() |
int |
getLargestPoolSize() |
int |
getPoolSize() |
int |
getQueueSize() |
long |
getTaskCount() |
protected ExecutorService |
protectExecutor(ExecutorService executor) |
<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) |
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitpublic ManagedScheduledExecutorService(ScheduledThreadPoolExecutor executor)
protected ExecutorService protectExecutor(ExecutorService executor)
protectExecutor in class ManagedExecutorServicepublic 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 ScheduledExecutorServicepublic int getActiveCount()
public long getCompletedTaskCount()
public int getLargestPoolSize()
public int getPoolSize()
public long getTaskCount()
public int getQueueSize()
Copyright © 2019 JBoss by Red Hat. All rights reserved.