|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActorClassification
Maps ActorRefs to ActorRefs to form an EventBus where ActorRefs can listen to other ActorRefs
Method Summary | |
---|---|
boolean |
associate(ActorRef monitored,
ActorRef monitor)
|
ActorRef |
classify(ActorClassification event)
Returns the Classifier associated with the specified Event |
scala.collection.immutable.Iterable<ActorRef> |
dissociate(ActorRef monitored)
|
boolean |
dissociate(ActorRef monitored,
ActorRef monitor)
|
scala.collection.immutable.TreeSet<ActorRef> |
empty()
|
java.util.concurrent.ConcurrentHashMap<ActorRef,scala.collection.immutable.TreeSet<ActorRef>> |
mappings()
|
int |
mapSize()
This is a size hint for the number of Classifiers you expect to have (use powers of 2) |
void |
publish(ActorClassification event)
|
boolean |
subscribe(ActorRef subscriber,
ActorRef to)
|
void |
unsubscribe(ActorRef subscriber)
|
boolean |
unsubscribe(ActorRef subscriber,
ActorRef from)
|
Method Detail |
---|
scala.collection.immutable.TreeSet<ActorRef> empty()
java.util.concurrent.ConcurrentHashMap<ActorRef,scala.collection.immutable.TreeSet<ActorRef>> mappings()
boolean associate(ActorRef monitored, ActorRef monitor)
scala.collection.immutable.Iterable<ActorRef> dissociate(ActorRef monitored)
boolean dissociate(ActorRef monitored, ActorRef monitor)
ActorRef classify(ActorClassification event)
event
- (undocumented)
int mapSize()
void publish(ActorClassification event)
boolean subscribe(ActorRef subscriber, ActorRef to)
boolean unsubscribe(ActorRef subscriber, ActorRef from)
void unsubscribe(ActorRef subscriber)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |