public static class Event.StatusChange extends Event.NodeEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
Event.StatusChange.Status |
Event.NodeEvent, Event.SchemaChange, Event.StatusChange, Event.TopologyChange, Event.Type| Modifier and Type | Field and Description |
|---|---|
Event.StatusChange.Status |
status |
node| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
protected int |
eventSerializedSize(ProtocolVersion version) |
int |
hashCode() |
static Event.StatusChange |
nodeDown(InetAddressAndPort address) |
static Event.StatusChange |
nodeUp(InetAddressAndPort address) |
protected void |
serializeEvent(io.netty.buffer.ByteBuf dest,
ProtocolVersion version) |
java.lang.String |
toString() |
nodeAddressAndPortdeserialize, serialize, serializedSizepublic final Event.StatusChange.Status status
public static Event.StatusChange nodeUp(InetAddressAndPort address)
public static Event.StatusChange nodeDown(InetAddressAndPort address)
protected void serializeEvent(io.netty.buffer.ByteBuf dest,
ProtocolVersion version)
serializeEvent in class Eventprotected int eventSerializedSize(ProtocolVersion version)
eventSerializedSize in class Eventpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2009-2020 The Apache Software Foundation