Class DirectThreadingFeature
- java.lang.Object
-
- ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
-
- ch.raffael.meldioc.library.base.threading.DirectThreadingFeature
-
- All Implemented Interfaces:
ThreadingFeature
- Direct Known Subclasses:
DirectThreadingFeature.WithShutdown
@Feature public abstract class DirectThreadingFeature extends AbstractThreadingFeature
AThreadingFeaturethat executes everything in the calling thread using aSameThreadExecutorService.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectThreadingFeature.WithShutdownADirectThreadingFeaturethat adds shutdown hooks.-
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.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 DirectThreadingFeature()
-
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.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.threading.ThreadingFeature
forkJoinPool
-
-
-
-
Method Detail
-
workExecutorImplementation
@Provision(singleton=true) protected java.util.concurrent.ExecutorService workExecutorImplementation()
- Overrides:
workExecutorImplementationin classAbstractThreadingFeature
-
-