Class WithinThreadExecutorFactory

java.lang.Object
org.infinispan.executors.WithinThreadExecutorFactory
All Implemented Interfaces:
org.infinispan.commons.executors.ExecutorFactory

public class WithinThreadExecutorFactory extends Object implements org.infinispan.commons.executors.ExecutorFactory
Executor factory that creates WithinThreadExecutor. This executor executes the tasks in the caller thread.
Since:
5.3
Author:
Pedro Ruivo
  • Constructor Details

    • WithinThreadExecutorFactory

      public WithinThreadExecutorFactory()
  • Method Details

    • getExecutor

      public ExecutorService getExecutor(Properties p)
      Specified by:
      getExecutor in interface org.infinispan.commons.executors.ExecutorFactory