Package org.graylog2.events
Class ClusterEvent
java.lang.Object
org.graylog2.events.ClusterEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterEvent
static ClusterEvent
create
(@NotEmpty String producer, @NotEmpty String eventClass, @NotNull Set<String> excludedNodeIds, @NotEmpty Object payload) static ClusterEvent
create
(String id, long timestamp, String producer, Set<String> consumers, String eventClass, Object payload) abstract String
abstract String
id()
abstract Object
payload()
abstract String
producer()
abstract long
-
Constructor Details
-
ClusterEvent
public ClusterEvent()
-
-
Method Details
-
id
-
timestamp
public abstract long timestamp() -
producer
-
consumers
-
eventClass
-
payload
-
create
-
create
-
create
public static ClusterEvent create(@NotEmpty @NotEmpty String producer, @NotEmpty @NotEmpty String eventClass, @NotEmpty @NotEmpty Object payload)
-