public class GridDhtPartitionExchangeId extends Object implements Comparable<GridDhtPartitionExchangeId>, Externalizable
| Constructor and Description |
|---|
GridDhtPartitionExchangeId()
Empty constructor required by
Externalizable. |
GridDhtPartitionExchangeId(UUID nodeId,
int evt,
long topVer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GridDhtPartitionExchangeId o) |
boolean |
equals(Object o) |
int |
event() |
int |
hashCode() |
boolean |
isJoined() |
boolean |
isLeft() |
UUID |
nodeId() |
void |
readExternal(ObjectInput in) |
long |
topologyVersion() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GridDhtPartitionExchangeId(UUID nodeId, int evt, long topVer)
nodeId - Node ID.evt - Event.topVer - Topology version.public GridDhtPartitionExchangeId()
Externalizable.public UUID nodeId()
public int event()
public long topologyVersion()
public boolean isJoined()
True if exchange is for new node joining.public boolean isLeft()
True if exchange is for node leaving.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic int compareTo(GridDhtPartitionExchangeId o)
compareTo in interface Comparable<GridDhtPartitionExchangeId>Copyright © 2014. All rights reserved.