A C E F G H I M N O P R S T V

A

absent() - Static method in class net.ninjacat.drama.Option
Creates optional value which is unset
Actor - Class in net.ninjacat.drama
Override this class to implement your actors.
Actor() - Constructor for class net.ninjacat.drama.Actor
 
ActorRef - Interface in net.ninjacat.drama
 
ActorSystem - Interface in net.ninjacat.drama
Main class of the framework responsible for management of actors.
ActorSystemFactory - Class in net.ninjacat.drama
Factory class for ActorSystem
ActorSystemFactory() - Constructor for class net.ninjacat.drama.ActorSystemFactory
 
ActorSystemInternal - Interface in net.ninjacat.drama.internal
 
ActorSystemStopCallback - Interface in net.ninjacat.drama
Callback to be called when ActorSystem is stopped, i.e.

C

CachedThreadPoolStrategy - Class in net.ninjacat.drama
ActorSystem threading strategy that uses cached thread pool ExecutorService
CachedThreadPoolStrategy() - Constructor for class net.ninjacat.drama.CachedThreadPoolStrategy
 
create() - Method in class net.ninjacat.drama.ActorSystemFactory
Creates a new ActorSystem.
createActor(Class<T>) - Method in interface net.ninjacat.drama.ActorSystem
Creates actor with default name.
createActor(Class<T>, String) - Method in interface net.ninjacat.drama.ActorSystem
Creates actor with supplied name.
createActor(Class<T>, String, Object...) - Method in interface net.ninjacat.drama.ActorSystem
Creates actor with supplied name.
Actor must define a constructor with a list of parameters matching list of this method parameters

E

equals(Object) - Method in class net.ninjacat.drama.Actor
 

F

find(String) - Method in interface net.ninjacat.drama.ActorSystem
Searches for an actor by its name
findMatchingConstructor(Class<T>, Object...) - Static method in class net.ninjacat.drama.reflect.MethodUtils
 
findMatchingMethod(Class<?>, String, Object...) - Static method in class net.ninjacat.drama.reflect.MethodUtils
 
FixedThreadPoolStrategy - Class in net.ninjacat.drama
* ActorSystem threading strategy that uses fixed thread pool ExecutorService with number of threads equal to number of available CPU cores.
FixedThreadPoolStrategy() - Constructor for class net.ninjacat.drama.FixedThreadPoolStrategy
 

G

get() - Method in class net.ninjacat.drama.Option
 
getActorSystem() - Method in class net.ninjacat.drama.Actor
 
getExecutionLock() - Method in class net.ninjacat.drama.Actor
 
getExecutorService() - Method in class net.ninjacat.drama.CachedThreadPoolStrategy
 
getExecutorService() - Method in class net.ninjacat.drama.FixedThreadPoolStrategy
 
getExecutorService() - Method in interface net.ninjacat.drama.ThreadingStrategy
 
getName() - Method in class net.ninjacat.drama.Actor
 
getName() - Method in interface net.ninjacat.drama.ActorRef
 
getSelf() - Method in class net.ninjacat.drama.Actor
 

H

hashCode() - Method in class net.ninjacat.drama.Actor
 

I

isPresent() - Method in class net.ninjacat.drama.Option
 

M

MethodUtils - Class in net.ninjacat.drama.reflect
 

N

net.ninjacat.drama - package net.ninjacat.drama
Classes for Drama Actor library
net.ninjacat.drama.internal - package net.ninjacat.drama.internal
 
net.ninjacat.drama.reflect - package net.ninjacat.drama.reflect
 
notifyActorReady(Actor) - Method in interface net.ninjacat.drama.internal.ActorSystemInternal
 
notifyActorTerminated(Actor) - Method in interface net.ninjacat.drama.internal.ActorSystemInternal
 

O

of(T) - Static method in class net.ninjacat.drama.Option
Creates optional value from supplied parameter
onShutdown() - Method in class net.ninjacat.drama.Actor
This method is called after actor is deleted.
onStartup() - Method in class net.ninjacat.drama.Actor
This method is called when new actor is created, before any message could be delivered to this actor.
onStopped() - Method in interface net.ninjacat.drama.ActorSystemStopCallback
Called when all actors in stopping ActorSystem have been terminated.
onSystemMessage(ActorRef, SystemMessage) - Method in class net.ninjacat.drama.Actor
 
Option<T> - Class in net.ninjacat.drama
Optional value.
or(T) - Method in class net.ninjacat.drama.Option
 
orNull() - Method in class net.ninjacat.drama.Option
 

P

parametersMatch(Class<?>[], Object[]) - Static method in class net.ninjacat.drama.reflect.MethodUtils
 

R

Receiver - Annotation Type in net.ninjacat.drama
 
run() - Method in class net.ninjacat.drama.Actor
Performs message dispatching for this actor's inbox

S

setThreadingStrategy(ThreadingStrategy) - Method in class net.ninjacat.drama.ActorSystemFactory
Sets ThreadingStrategy for new instances of ActorSystems created by this factory
stop() - Method in interface net.ninjacat.drama.ActorRef
Stops actor.
stop() - Method in interface net.ninjacat.drama.ActorSystem
Stops ActorSystem.
stopWithCallback(ActorSystemStopCallback) - Method in interface net.ninjacat.drama.ActorSystem
Stops ActorSystem.
SystemMessage - Enum in net.ninjacat.drama.internal
 

T

tell(Object, ActorRef) - Method in interface net.ninjacat.drama.ActorRef
Send a message to an actor represented by this reference
tell(Object) - Method in interface net.ninjacat.drama.ActorRef
Send a message to an actor represented by this reference.
ThreadingStrategy - Interface in net.ninjacat.drama
Threading strategy for an ActorSystem
toString() - Method in class net.ninjacat.drama.Actor
 

V

valueOf(String) - Static method in enum net.ninjacat.drama.internal.SystemMessage
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.ninjacat.drama.internal.SystemMessage
Returns an array containing the constants of this enum type, in the order they are declared.

A C E F G H I M N O P R S T V

Copyright © 2014. All rights reserved.