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
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, submitMethods inherited from class ch.raffael.meldioc.util.concurrent.SecureExecutorServiceWrapper
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AdvisingExecutorService
-
-
Method Details
-
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>
-