Class JavaThreadPoolFeature.WithShutdown
- java.lang.Object
-
- ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
-
- ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature.WithTaskAdvice
-
- ch.raffael.meldioc.library.base.threading.JavaThreadPoolFeature
-
- ch.raffael.meldioc.library.base.threading.JavaThreadPoolFeature.WithShutdown
-
- All Implemented Interfaces:
ShutdownFeature,TaskAdviceFeature,ThreadingFeature
- Enclosing class:
- JavaThreadPoolFeature
@Feature public abstract static class JavaThreadPoolFeature.WithShutdown extends JavaThreadPoolFeature implements ShutdownFeature
AJavaThreadPoolFeaturethat destroys the thread pool on finalizing the shutdown.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.raffael.meldioc.library.base.threading.JavaThreadPoolFeature
JavaThreadPoolFeature.WithShutdown
-
Nested classes/interfaces inherited from class ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
AbstractThreadingFeature.WithTaskAdvice
-
Nested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.lifecycle.ShutdownFeature
ShutdownFeature.Parallel, ShutdownFeature.SameThread, ShutdownFeature.WithActuator
-
Nested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.threading.TaskAdviceFeature
TaskAdviceFeature.Profile
-
Nested 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.concurrent.ExecutorServiceworkExecutorImplementation()-
Methods inherited from class ch.raffael.meldioc.library.base.threading.JavaThreadPoolFeature
corePoolSize, createQueue, createRejectedExecutionHandler, createThreadFactory, keepAliveTime, maxPoolSize, queueCapacity, threadGroup
-
Methods inherited from class ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature.WithTaskAdvice
taskAdvice, taskAdviceProfile
-
Methods inherited from class ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
unrestrictedWorkExecutor, workExecutor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.raffael.meldioc.library.base.lifecycle.ShutdownFeature
shutdownController
-
Methods inherited from interface ch.raffael.meldioc.library.base.threading.ThreadingFeature
forkJoinPool
-
-
-
-
Method Detail
-
workExecutorImplementation
@Provision(singleton=true) protected java.util.concurrent.ExecutorService workExecutorImplementation()
- Overrides:
workExecutorImplementationin classJavaThreadPoolFeature
-
-