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
A
ThreadingFeature that executes everything in the calling thread
using a SameThreadExecutorService.-
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.WithTaskAdviceNested 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
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.threading.ThreadingFeature
forkJoinPool
-
Constructor Details
-
DirectThreadingFeature
public DirectThreadingFeature()
-
-
Method Details
-
workExecutorImplementation
@Provision(singleton=true) protected java.util.concurrent.ExecutorService workExecutorImplementation()- Overrides:
workExecutorImplementationin classAbstractThreadingFeature
-