Package ch.raffael.meldioc.util.advice
Class AdvisingExecutorService<D extends java.util.concurrent.ExecutorService>
- java.lang.Object
-
- ch.raffael.meldioc.util.concurrent.SecureExecutorServiceWrapper<D>
-
- ch.raffael.meldioc.util.concurrent.DecoratingExecutorService<D>
-
- ch.raffael.meldioc.util.advice.AdvisingExecutorService<D>
-
- All Implemented Interfaces:
java.util.concurrent.Executor,java.util.concurrent.ExecutorService
public class AdvisingExecutorService<D extends java.util.concurrent.ExecutorService> extends DecoratingExecutorService<D>
TODO JavaDoc
-
-
Field Summary
-
Fields inherited from class ch.raffael.meldioc.util.concurrent.SecureExecutorServiceWrapper
delegate
-
-
Constructor Summary
Constructors Constructor Description AdvisingExecutorService(D delegate, AroundAdvice advice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> java.util.concurrent.Callable<T>decorateCallable(java.util.concurrent.Callable<? extends T> original)protected java.lang.RunnabledecorateRunnable(java.lang.Runnable original)-
Methods inherited from class ch.raffael.meldioc.util.concurrent.DecoratingExecutorService
execute, invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
-
Methods inherited from class ch.raffael.meldioc.util.concurrent.SecureExecutorServiceWrapper
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
-
-
-
Constructor Detail
-
AdvisingExecutorService
public AdvisingExecutorService(D delegate, AroundAdvice advice)
-
-
Method Detail
-
decorateRunnable
protected java.lang.Runnable decorateRunnable(java.lang.Runnable original)
- Specified by:
decorateRunnablein classDecoratingExecutorService<D extends java.util.concurrent.ExecutorService>
-
decorateCallable
protected <T> java.util.concurrent.Callable<T> decorateCallable(java.util.concurrent.Callable<? extends T> original)
- Specified by:
decorateCallablein classDecoratingExecutorService<D extends java.util.concurrent.ExecutorService>
-
-