Class AbstractThreadingFeature
java.lang.Object
ch.raffael.meldioc.library.base.threading.AbstractThreadingFeature
- All Implemented Interfaces:
ThreadingFeature
- Direct Known Subclasses:
AbstractThreadingFeature.WithTaskAdvice,DirectThreadingFeature
@Feature public abstract class AbstractThreadingFeature extends java.lang.Object implements ThreadingFeature
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractThreadingFeature.WithTaskAdviceNested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.threading.ThreadingFeature
ThreadingFeature.Util, ThreadingFeature.WithSystemForkJoinPool -
Field Summary
Fields Modifier and Type Field Description protected DefaultWorkExecutorProviderworkExecutorProvider -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractThreadingFeature() -
Method Summary
Modifier and Type Method Description protected java.util.concurrent.ExecutorServiceunrestrictedWorkExecutor()Deprecated, for removal: This API element is subject to removal in a future version.java.util.concurrent.ExecutorServiceworkExecutor()protected java.util.concurrent.ExecutorServiceworkExecutorImplementation()Methods 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
-
Field Details
-
workExecutorProvider
-
-
Constructor Details
-
AbstractThreadingFeature
protected AbstractThreadingFeature()
-
-
Method Details
-
workExecutor
@Provision(singleton=true) public java.util.concurrent.ExecutorService workExecutor()- Specified by:
workExecutorin interfaceThreadingFeature
-
unrestrictedWorkExecutor
@Deprecated(forRemoval=true) @Provision(singleton=true) protected java.util.concurrent.ExecutorService unrestrictedWorkExecutor()Deprecated, for removal: This API element is subject to removal in a future version.replaced byworkExecutorImplementation() -
workExecutorImplementation
@Provision(singleton=true) protected java.util.concurrent.ExecutorService workExecutorImplementation()
-
workExecutorImplementation()