public class GridClockDeltaVersion extends Object implements Comparable<GridClockDeltaVersion>, Externalizable
| Constructor and Description |
|---|
GridClockDeltaVersion()
Empty constructor required by
Externalizable. |
GridClockDeltaVersion(long ver,
long topVer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GridClockDeltaVersion o) |
boolean |
equals(Object o) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
long |
topologyVersion() |
String |
toString() |
long |
version() |
void |
writeExternal(ObjectOutput out) |
public GridClockDeltaVersion()
Externalizable.public GridClockDeltaVersion(long ver,
long topVer)
ver - Version.topVer - Topology version.public long version()
public long topologyVersion()
public int compareTo(GridClockDeltaVersion o)
compareTo in interface Comparable<GridClockDeltaVersion>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.