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 class  ThreadingFeature.Util  
    static class  ThreadingFeature.WithSystemForkJoinPool
    Deprecated, 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.ForkJoinPool forkJoinPool()  
    java.util.concurrent.ExecutorService workExecutor()  
  • Method Details

    • workExecutor

      @Provision java.util.concurrent.ExecutorService workExecutor()
    • forkJoinPool

      @Provision default java.util.concurrent.ForkJoinPool forkJoinPool()