Class ClusterEvent

java.lang.Object
org.graylog2.events.ClusterEvent

public abstract class ClusterEvent extends Object
  • Constructor Details

    • ClusterEvent

      public ClusterEvent()
  • Method Details

    • id

      @Nullable public abstract String id()
    • timestamp

      public abstract long timestamp()
    • producer

      @Nullable public abstract String producer()
    • consumers

      @Nullable public abstract Set<String> consumers()
    • eventClass

      @Nullable public abstract String eventClass()
    • payload

      @Nullable public abstract Object payload()
    • create

      public static ClusterEvent create(@Nullable String id, long timestamp, @Nullable String producer, @Nullable Set<String> consumers, @Nullable String eventClass, @Nullable Object payload)
    • create

      public static ClusterEvent create(@NotEmpty @NotEmpty String producer, @NotEmpty @NotEmpty String eventClass, @NotNull @NotNull Set<String> excludedNodeIds, @NotEmpty @NotEmpty Object payload)
    • create

      public static ClusterEvent create(@NotEmpty @NotEmpty String producer, @NotEmpty @NotEmpty String eventClass, @NotEmpty @NotEmpty Object payload)