Package io.opentelemetry.context
Class CurrentContextScheduledExecutorService
java.lang.Object
io.opentelemetry.context.ForwardingExecutorService
io.opentelemetry.context.CurrentContextExecutorService
io.opentelemetry.context.CurrentContextScheduledExecutorService
- All Implemented Interfaces:
AutoCloseable,Executor,ExecutorService,ScheduledExecutorService
final class CurrentContextScheduledExecutorService
extends CurrentContextExecutorService
implements ScheduledExecutorService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> ScheduledFuture<V> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) Methods inherited from class io.opentelemetry.context.CurrentContextExecutorService
execute, invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submitMethods inherited from class io.opentelemetry.context.ForwardingExecutorService
awaitTermination, delegate, isShutdown, isTerminated, shutdown, shutdownNow, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, close, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Field Details
-
delegate
-
-
Constructor Details
-
CurrentContextScheduledExecutorService
CurrentContextScheduledExecutorService(ScheduledExecutorService delegate)
-
-
Method Details
-
schedule
- Specified by:
schedulein interfaceScheduledExecutorService
-
schedule
- Specified by:
schedulein interfaceScheduledExecutorService
-
scheduleAtFixedRate
public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) - Specified by:
scheduleAtFixedRatein interfaceScheduledExecutorService
-
scheduleWithFixedDelay
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) - Specified by:
scheduleWithFixedDelayin interfaceScheduledExecutorService
-