Class ExecutorProviderImpl

  • All Implemented Interfaces:
    org.kie.api.concurrent.KieExecutors, org.kie.api.Service

    public class ExecutorProviderImpl
    extends Object
    implements org.kie.api.concurrent.KieExecutors
    • Constructor Detail

      • ExecutorProviderImpl

        public ExecutorProviderImpl()
    • Method Detail

      • getExecutor

        public ExecutorService getExecutor()
        Specified by:
        getExecutor in interface org.kie.api.concurrent.KieExecutors
      • newSingleThreadExecutor

        public ExecutorService newSingleThreadExecutor()
        Specified by:
        newSingleThreadExecutor in interface org.kie.api.concurrent.KieExecutors
      • newFixedThreadPool

        public ExecutorService newFixedThreadPool()
        Specified by:
        newFixedThreadPool in interface org.kie.api.concurrent.KieExecutors
      • newFixedThreadPool

        public ExecutorService newFixedThreadPool​(int nThreads)
        Specified by:
        newFixedThreadPool in interface org.kie.api.concurrent.KieExecutors
      • getCompletionService

        public <T> CompletionService<T> getCompletionService()
        Specified by:
        getCompletionService in interface org.kie.api.concurrent.KieExecutors