Package net.ninjacat.drama

Classes for Drama Actor library

See:
          Description

Interface Summary
ActorRef  
ActorSystem Main class of the framework responsible for management of actors.
ActorSystemStopCallback Callback to be called when ActorSystem is stopped, i.e.
ThreadingStrategy Threading strategy for an ActorSystem
 

Class Summary
Actor Override this class to implement your actors.
ActorSystemFactory Factory class for ActorSystem
CachedThreadPoolStrategy ActorSystem threading strategy that uses cached thread pool ExecutorService
FixedThreadPoolStrategy * ActorSystem threading strategy that uses fixed thread pool ExecutorService with number of threads equal to number of available CPU cores.
Option<T> Optional value.
 

Annotation Types Summary
Receiver  
 

Package net.ninjacat.drama Description

Classes for Drama Actor library

General usage information:

  1. Create ActorSystem using ActorSystemFactory.create()
  2. Declare actors as subclasses of Actor
  3. Create actors in the ActorSystem with ActorSystem.createActor(Class, String)
  4. Retrieve actor references from ActorSystem with ActorSystem.find(String)
  5. Send messages to actor using ActorRef.tell(Object) or ActorRef.tell(Object, ActorRef)
See more details at BitBucket



Copyright © 2014. All rights reserved.