Class DirectThreadingFeature.WithShutdown
java.lang.Object
ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
ch.raffael.meldioc.library.base.threading.DirectThreadingFeature
ch.raffael.meldioc.library.base.threading.DirectThreadingFeature.WithShutdown
- All Implemented Interfaces:
ShutdownFeature,ThreadingFeature
- Enclosing class:
- DirectThreadingFeature
@Feature public abstract static class DirectThreadingFeature.WithShutdown extends DirectThreadingFeature implements ShutdownFeature
A
DirectThreadingFeature that adds shutdown hooks.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.raffael.meldioc.library.base.threading.DirectThreadingFeature
DirectThreadingFeature.WithShutdownNested classes/interfaces inherited from class ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
AbstractThreadingFeature.WithTaskAdviceNested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.lifecycle.ShutdownFeature
ShutdownFeature.Parallel, ShutdownFeature.SameThread, ShutdownFeature.WithActuatorNested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.threading.ThreadingFeature
ThreadingFeature.Util, ThreadingFeature.WithSystemForkJoinPool -
Field Summary
Fields inherited from class ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
workExecutorProvider -
Constructor Summary
Constructors Constructor Description WithShutdown() -
Method Summary
Modifier and Type Method Description protected java.util.concurrent.ExecutorServiceworkExecutorImplementation()Methods inherited from class ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
unrestrictedWorkExecutor, workExecutorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.raffael.meldioc.library.base.lifecycle.ShutdownFeature
shutdownControllerMethods inherited from interface ch.raffael.meldioc.library.base.threading.ThreadingFeature
forkJoinPool
-
Constructor Details
-
WithShutdown
public WithShutdown()
-
-
Method Details
-
workExecutorImplementation
@Provision(singleton=true) protected java.util.concurrent.ExecutorService workExecutorImplementation()- Overrides:
workExecutorImplementationin classDirectThreadingFeature
-