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 Runnable
protected <T> Callable
<T> Methods inherited from class ubic.gemma.core.util.concurrent.AbstractDelegatingExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
Methods inherited from class ubic.gemma.core.util.concurrent.AbstractDelegatingExecutor
execute
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 Details
-
DelegatingThreadContextScheduledExecutorService
-
-
Method Details
-
getDelegate
Description copied from interface:DelegatingExecutor
The executor this is delegating for.- Specified by:
getDelegate
in interfaceDelegatingExecutor
- Specified by:
getDelegate
in interfaceDelegatingExecutorService
- Specified by:
getDelegate
in interfaceDelegatingScheduledExecutorService
- Overrides:
getDelegate
in classAbstractDelegatingExecutorService
-
schedule
@Nonnull public ScheduledFuture<?> schedule(@Nonnull Runnable command, long delay, @Nonnull TimeUnit unit) - Specified by:
schedule
in interfaceScheduledExecutorService
-
schedule
@Nonnull public <V> ScheduledFuture<V> schedule(@Nonnull Callable<V> callable, long delay, @Nonnull TimeUnit unit) - Specified by:
schedule
in interfaceScheduledExecutorService
-
scheduleAtFixedRate
@Nonnull public ScheduledFuture<?> scheduleAtFixedRate(@Nonnull Runnable command, long initialDelay, long period, @Nonnull TimeUnit unit) - Specified by:
scheduleAtFixedRate
in interfaceScheduledExecutorService
-
scheduleWithFixedDelay
@Nonnull public ScheduledFuture<?> scheduleWithFixedDelay(@Nonnull Runnable command, long initialDelay, long delay, @Nonnull TimeUnit unit) - Specified by:
scheduleWithFixedDelay
in interfaceScheduledExecutorService
-
wrap
- Specified by:
wrap
in classAbstractDelegatingExecutor
-
wrap
- Specified by:
wrap
in classAbstractDelegatingExecutorService
-