net.ninjacat.drama
Class CachedThreadPoolStrategy
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedThreadPoolStrategy
public CachedThreadPoolStrategy()
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.