public class ClusterEvent extends io.atomix.utils.event.AbstractEvent<ClusterEvent.Type,Node>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterEvent.Type
Type of cluster-related events.
|
| Constructor and Description |
|---|
ClusterEvent(ClusterEvent.Type type,
Node instance)
Creates an event of a given type and for the specified instance and the
current time.
|
ClusterEvent(ClusterEvent.Type type,
Node instance,
long time)
Creates an event of a given type and for the specified device and time.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public ClusterEvent(ClusterEvent.Type type, Node instance)
type - cluster event typeinstance - cluster device subjectpublic ClusterEvent(ClusterEvent.Type type, Node instance, long time)
type - device event typeinstance - event device subjecttime - occurrence timeCopyright © 2013–2018. All rights reserved.