public interface EventStream
IMPORTANT NOTICE
This EventStream is local to the ActorSystem, it does not span a cluster. For disseminating messages across a cluster please refer to the DistributedPubSub module.
| Modifier and Type | Method and Description |
|---|---|
Logging.LogLevel |
logLevel()
Query the current minimum log level.
|
<T> void |
publish(T event)
Publishes the specified Event to this bus
|
void |
setLogLevel(Logging.LogLevel loglevel)
Change the current minimum log level.
|
<T> boolean |
subscribe(ActorRef<T> subscriber,
java.lang.Class<T> to)
Attempts to register the subscriber to the specified Classifier
|
<T> void |
unsubscribe(ActorRef<T> subscriber)
Attempts to deregister the subscriber from all Classifiers it may be subscribed to
|
<T> boolean |
unsubscribe(ActorRef<T> subscriber,
java.lang.Class<T> from)
Attempts to deregister the subscriber from the specified Classifier
|
<T> boolean subscribe(ActorRef<T> subscriber, java.lang.Class<T> to)
subscriber - (undocumented)to - (undocumented)<T> boolean unsubscribe(ActorRef<T> subscriber, java.lang.Class<T> from)
subscriber - (undocumented)from - (undocumented)<T> void unsubscribe(ActorRef<T> subscriber)
subscriber - (undocumented)<T> void publish(T event)
event - (undocumented)Logging.LogLevel logLevel()
void setLogLevel(Logging.LogLevel loglevel)
loglevel - (undocumented)