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 Details

    • ClusterEventBus

      public ClusterEventBus()
    • ClusterEventBus

      public ClusterEventBus(Executor executor)
    • ClusterEventBus

      public ClusterEventBus(Executor executor, com.google.common.eventbus.SubscriberExceptionHandler subscriberExceptionHandler)
    • ClusterEventBus

      public ClusterEventBus(String identifier, Executor executor)
  • Method Details

    • register

      public void register(Object object)
      Overrides:
      register in class com.google.common.eventbus.EventBus
    • registerClusterEventSubscriber

      public void registerClusterEventSubscriber(Object object)
      Only use this if you maintain the cluster event bus! Use regular EventBus to receive cluster event updates.
      Parameters:
      object -