View Javadoc

1   package com.atlassian.event.spi;
2   
3   import java.util.concurrent.Executor;
4   
5   /**
6    * <p>A factory to create executors for asynchronous event handling</p>
7    */
8   public interface EventExecutorFactory {
9       /**
10       * @return a new {@link Executor}
11       */
12      Executor getExecutor();
13  }