Package ubic.gemma.core.logging.log4j
Class DelegatingThreadContextScheduledExecutorService
java.lang.Object
ubic.gemma.core.util.concurrent.AbstractDelegatingExecutor
ubic.gemma.core.util.concurrent.AbstractDelegatingExecutorService
ubic.gemma.core.logging.log4j.DelegatingThreadContextScheduledExecutorService
- All Implemented Interfaces:
Executor,ExecutorService,ScheduledExecutorService,DelegatingExecutor,DelegatingExecutorService,DelegatingScheduledExecutorService
public class DelegatingThreadContextScheduledExecutorService
extends AbstractDelegatingExecutorService
implements DelegatingScheduledExecutorService
- Author:
- poirigui
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionThe executor this is delegating for.<V> ScheduledFuture<V> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) protected Runnableprotected <T> Callable<T> Methods inherited from class ubic.gemma.core.util.concurrent.AbstractDelegatingExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitMethods inherited from class ubic.gemma.core.util.concurrent.AbstractDelegatingExecutor
executeMethods 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, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Constructor Details
-
DelegatingThreadContextScheduledExecutorService
-
-
Method Details
-
getDelegate
Description copied from interface:DelegatingExecutorThe executor this is delegating for.- Specified by:
getDelegatein interfaceDelegatingExecutor- Specified by:
getDelegatein interfaceDelegatingExecutorService- Specified by:
getDelegatein interfaceDelegatingScheduledExecutorService- Overrides:
getDelegatein classAbstractDelegatingExecutorService
-
schedule
@Nonnull public ScheduledFuture<?> schedule(@Nonnull Runnable command, long delay, @Nonnull TimeUnit unit) - Specified by:
schedulein interfaceScheduledExecutorService
-
schedule
@Nonnull public <V> ScheduledFuture<V> schedule(@Nonnull Callable<V> callable, long delay, @Nonnull TimeUnit unit) - Specified by:
schedulein interfaceScheduledExecutorService
-
scheduleAtFixedRate
@Nonnull public ScheduledFuture<?> scheduleAtFixedRate(@Nonnull Runnable command, long initialDelay, long period, @Nonnull TimeUnit unit) - Specified by:
scheduleAtFixedRatein interfaceScheduledExecutorService
-
scheduleWithFixedDelay
@Nonnull public ScheduledFuture<?> scheduleWithFixedDelay(@Nonnull Runnable command, long initialDelay, long delay, @Nonnull TimeUnit unit) - Specified by:
scheduleWithFixedDelayin interfaceScheduledExecutorService
-
wrap
- Specified by:
wrapin classAbstractDelegatingExecutor
-
wrap
- Specified by:
wrapin classAbstractDelegatingExecutorService
-