Class AuditRequestContextPropagatingScheduledExecutorService
- java.lang.Object
-
- org.forgerock.openam.audit.context.AuditRequestContextPropagatingExecutorService
-
- org.forgerock.openam.audit.context.AuditRequestContextPropagatingScheduledExecutorService
-
- All Implemented Interfaces:
Executor,ExecutorService,ScheduledExecutorService,ConfigurableExecutorService
public class AuditRequestContextPropagatingScheduledExecutorService extends AuditRequestContextPropagatingExecutorService implements ScheduledExecutorService
ExecutorService decorator that propagatesAuditRequestContextfrom task publishing thread to task running thread.- Since:
- 13.0.0
-
-
Constructor Summary
Constructors Constructor Description AuditRequestContextPropagatingScheduledExecutorService(ScheduledExecutorService delegate)Constructs a newAuditRequestContextPropagatingScheduledExecutorService.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledFuture<?>schedule(Runnable command, long delay, TimeUnit unit)<V> ScheduledFuture<V>schedule(Callable<V> callable, long delay, TimeUnit unit)ScheduledFuture<?>scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)ScheduledFuture<?>scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)-
Methods inherited from class org.forgerock.openam.audit.context.AuditRequestContextPropagatingExecutorService
awaitTermination, execute, getConfigurator, getDelegate, invokeAll, invokeAll, invokeAny, invokeAny, isConfigurable, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
-
-
-
Constructor Detail
-
AuditRequestContextPropagatingScheduledExecutorService
public AuditRequestContextPropagatingScheduledExecutorService(ScheduledExecutorService delegate)
Constructs a newAuditRequestContextPropagatingScheduledExecutorService.- Parameters:
delegate- The task running thread.
-
-
Method Detail
-
schedule
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
- Specified by:
schedulein interfaceScheduledExecutorService
-
schedule
public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
- 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
-
-