net.ninjacat.drama
Class CachedThreadPoolStrategy

java.lang.Object
  extended by net.ninjacat.drama.CachedThreadPoolStrategy
All Implemented Interfaces:
ThreadingStrategy

public final class CachedThreadPoolStrategy
extends Object
implements ThreadingStrategy

ActorSystem threading strategy that uses cached thread pool ExecutorService


Constructor Summary
CachedThreadPoolStrategy()
           
 
Method Summary
 ExecutorService getExecutorService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedThreadPoolStrategy

public CachedThreadPoolStrategy()
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Specified by:
getExecutorService in interface ThreadingStrategy
Returns:
ExecutorService to be used by ActorSystem when dispatching messages to Actors


Copyright © 2014. All rights reserved.