Interface ThreadingFeature
- All Known Implementing Classes:
AbstractThreadingFeature,AbstractThreadingFeature.WithTaskAdvice,DirectThreadingFeature,DirectThreadingFeature.WithShutdown,JavaThreadPoolFeature,JavaThreadPoolFeature.WithShutdown,Lifecycle.Feature,ShutdownFeature.Parallel,ThreadingFeature.WithSystemForkJoinPool
@Feature
public interface ThreadingFeature
Basic infrastructure for multithreaded applications.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classThreadingFeature.Utilstatic classThreadingFeature.WithSystemForkJoinPoolDeprecated, for removal: This API element is subject to removal in a future version.about 99.9% of the applications will use this → moved to default in ThreadingFeature -
Method Summary
Modifier and Type Method Description default java.util.concurrent.ForkJoinPoolforkJoinPool()java.util.concurrent.ExecutorServiceworkExecutor()
-
Method Details
-
workExecutor
@Provision java.util.concurrent.ExecutorService workExecutor() -
forkJoinPool
@Provision default java.util.concurrent.ForkJoinPool forkJoinPool()
-