Class JavaThreadPoolFeature.WithShutdown
- java.lang.Object
-
- ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
-
- ch.raffael.meldioc.library.base.threading.JavaThreadPoolFeature
-
- ch.raffael.meldioc.library.base.threading.JavaThreadPoolFeature.WithShutdown
-
- All Implemented Interfaces:
ShutdownFeature,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 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.ThreadingFeature
ThreadingFeature.Util, ThreadingFeature.WithSystemForkJoinPool
-
-
Constructor Summary
Constructors Constructor Description WithShutdown()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.concurrent.ExecutorServiceunrestrictedWorkExecutor()-
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
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
-
unrestrictedWorkExecutor
@Provision(shared=true) protected java.util.concurrent.ExecutorService unrestrictedWorkExecutor()
- Overrides:
unrestrictedWorkExecutorin classJavaThreadPoolFeature
-
-