public class GridCacheVersionEx extends GridCacheVersion
| Constructor and Description |
|---|
GridCacheVersionEx()
Externalizable support. |
GridCacheVersionEx(int topVer,
int nodeOrderDrId,
long globalTime,
long order,
GridCacheVersion drVer)
Constructor.
|
GridCacheVersionEx(int topVer,
long globalTime,
long order,
int nodeOrder,
byte dataCenterId,
GridCacheVersion drVer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
conflictVersion() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
readExternal(ObjectInput in) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
void |
writeExternal(ObjectOutput out) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
asGridUuid, compareTo, dataCenterId, equals, globalTime, hashCode, isGreater, isGreaterEqual, isLess, isLessEqual, nodeOrder, nodeOrderAndDrIdRaw, order, topologyVersion, toStringpublic GridCacheVersionEx()
Externalizable support.public GridCacheVersionEx(int topVer,
long globalTime,
long order,
int nodeOrder,
byte dataCenterId,
GridCacheVersion drVer)
topVer - Topology version.globalTime - Global time.order - Order.nodeOrder - Node order.dataCenterId - Data center ID.drVer - DR version.public GridCacheVersionEx(int topVer,
int nodeOrderDrId,
long globalTime,
long order,
GridCacheVersion drVer)
topVer - Topology version.nodeOrderDrId - Node order and DR ID.globalTime - Globally adjusted time.order - Version order.drVer - DR version.public GridCacheVersion conflictVersion()
conflictVersion in class GridCacheVersionpublic byte directType()
directType in interface MessagedirectType in class GridCacheVersionpublic byte fieldsCount()
fieldsCount in interface MessagefieldsCount in class GridCacheVersionpublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in interface MessagewriteTo in class GridCacheVersionbuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf, MessageReader reader)
readFrom in interface MessagereadFrom in class GridCacheVersionbuf - Byte buffer.reader - Reader.public void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class GridCacheVersionIOExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class GridCacheVersionIOException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015