public class ClusterEvent extends AbstractEvent<ClusterEvent.Type,ControllerNode>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterEvent.Type
Type of cluster-related events.
|
| Constructor and Description |
|---|
ClusterEvent(ClusterEvent.Type type,
ControllerNode instance)
Creates an event of a given type and for the specified instance and the
current time.
|
ClusterEvent(ClusterEvent.Type type,
ControllerNode 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() |
subject, time, typepublic ClusterEvent(ClusterEvent.Type type, ControllerNode instance)
type - cluster event typeinstance - cluster device subjectpublic ClusterEvent(ClusterEvent.Type type, ControllerNode instance, long time)
type - device event typeinstance - event device subjecttime - occurrence timepublic String toString()
toString in class AbstractEvent<ClusterEvent.Type,ControllerNode>