public class TraceableScheduledExecutorService extends TraceableExecutorService implements ScheduledExecutorService
ScheduledExecutorService to support tracing in Executors.| Constructor and Description |
|---|
TraceableScheduledExecutorService(org.springframework.beans.factory.BeanFactory beanFactory,
ExecutorService delegate) |
TraceableScheduledExecutorService(org.springframework.beans.factory.BeanFactory beanFactory,
ExecutorService delegate,
String beanName) |
| Modifier and Type | Method and Description |
|---|---|
<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) |
static TraceableScheduledExecutorService |
wrap(org.springframework.beans.factory.BeanFactory beanFactory,
ExecutorService delegate)
Wraps the Executor in a trace instance.
|
static TraceableScheduledExecutorService |
wrap(org.springframework.beans.factory.BeanFactory beanFactory,
ExecutorService delegate,
String beanName)
Wraps the Executor in a trace instance.
|
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 TraceableScheduledExecutorService(org.springframework.beans.factory.BeanFactory beanFactory,
ExecutorService delegate)
public TraceableScheduledExecutorService(org.springframework.beans.factory.BeanFactory beanFactory,
ExecutorService delegate,
String beanName)
public static TraceableScheduledExecutorService wrap(org.springframework.beans.factory.BeanFactory beanFactory, ExecutorService delegate, String beanName)
beanFactory - bean factorydelegate - delegate to wrapbeanName - bean namepublic static TraceableScheduledExecutorService wrap(org.springframework.beans.factory.BeanFactory beanFactory, ExecutorService delegate)
beanFactory - bean factorydelegate - delegate to wrappublic 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 ScheduledExecutorServiceCopyright © 2023 Pivotal Software, Inc.. All rights reserved.