net.ninjacat.drama
Class ActorSystemFactory
java.lang.Object
net.ninjacat.drama.ActorSystemFactory
public class ActorSystemFactory
- extends Object
Factory class for ActorSystem
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActorSystemFactory
public ActorSystemFactory()
setThreadingStrategy
public ActorSystemFactory setThreadingStrategy(ThreadingStrategy threadingStrategy)
- Sets
ThreadingStrategy for new instances of ActorSystems
created by this factory
- Parameters:
threadingStrategy - instance of ThreadingStrategy
- Returns:
- factory itself
create
public ActorSystem create()
- Creates a new ActorSystem.
- Returns:
- appropriately configured instance of
ActorSystem
Copyright © 2014. All rights reserved.