Package org.graylog2.events
Class ClusterEventBus
java.lang.Object
com.google.common.eventbus.EventBus
com.google.common.eventbus.AsyncEventBus
org.graylog2.events.ClusterEventBus
public class ClusterEventBus
extends com.google.common.eventbus.AsyncEventBus
-
Constructor Summary
ConstructorsConstructorDescriptionClusterEventBus(String identifier, Executor executor) ClusterEventBus(Executor executor) ClusterEventBus(Executor executor, com.google.common.eventbus.SubscriberExceptionHandler subscriberExceptionHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidregisterClusterEventSubscriber(Object object) Only use this if you maintain the cluster event bus! Use regular EventBus to receive cluster event updates.Methods inherited from class com.google.common.eventbus.EventBus
identifier, post, toString, unregister
-
Constructor Details
-
ClusterEventBus
public ClusterEventBus() -
ClusterEventBus
-
ClusterEventBus
public ClusterEventBus(Executor executor, com.google.common.eventbus.SubscriberExceptionHandler subscriberExceptionHandler) -
ClusterEventBus
-
-
Method Details
-
register
- Overrides:
registerin classcom.google.common.eventbus.EventBus
-
registerClusterEventSubscriber
Only use this if you maintain the cluster event bus! Use regular EventBus to receive cluster event updates.- Parameters:
object-
-