public static class Event.TopologyChange extends Event.NodeEvent
Modifier and Type | Class and Description |
---|---|
static class |
Event.TopologyChange.Change |
Event.NodeEvent, Event.SchemaChange, Event.StatusChange, Event.TopologyChange, Event.Type
Modifier and Type | Field and Description |
---|---|
Event.TopologyChange.Change |
change |
node
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
protected int |
eventSerializedSize(ProtocolVersion version) |
int |
hashCode() |
static Event.TopologyChange |
movedNode(InetAddressAndPort address) |
static Event.TopologyChange |
newNode(InetAddressAndPort address) |
static Event.TopologyChange |
removedNode(InetAddressAndPort address) |
protected void |
serializeEvent(io.netty.buffer.ByteBuf dest,
ProtocolVersion version) |
java.lang.String |
toString() |
nodeAddressAndPort
deserialize, serialize, serializedSize
public final Event.TopologyChange.Change change
public static Event.TopologyChange newNode(InetAddressAndPort address)
public static Event.TopologyChange removedNode(InetAddressAndPort address)
public static Event.TopologyChange movedNode(InetAddressAndPort address)
protected void serializeEvent(io.netty.buffer.ByteBuf dest, ProtocolVersion version)
serializeEvent
in class Event
protected int eventSerializedSize(ProtocolVersion version)
eventSerializedSize
in class Event
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Copyright © 2009- The Apache Software Foundation