public class MvccDataRow extends DataRow
CacheDataRowAdapter.RowDatacacheId, expireTime, key, link, val, ver, verReady| Constructor and Description |
|---|
MvccDataRow() |
MvccDataRow(CacheGroupContext grp,
int hash,
long link,
int part,
CacheDataRowAdapter.RowData rowData,
long crdVer,
long mvccCntr,
int mvccOpCntr,
boolean skipVer) |
MvccDataRow(KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
int part,
long expireTime,
int cacheId,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
MvccDataRow(long link) |
| Modifier and Type | Method and Description |
|---|---|
int |
headerSize() |
protected boolean |
keyAbsentBeforeFlag() |
protected void |
keyAbsentBeforeFlag(boolean flag) |
long |
mvccCoordinatorVersion() |
long |
mvccCounter() |
int |
mvccOperationCounter() |
byte |
mvccTxState() |
void |
mvccTxState(byte mvccTxState) |
void |
mvccVersion(long crd,
long cntr,
int opCntr)
Sets mvcc version.
|
long |
newMvccCoordinatorVersion() |
long |
newMvccCounter() |
int |
newMvccOperationCounter() |
byte |
newMvccTxState() |
void |
newMvccTxState(byte newMvccTxState) |
void |
newMvccVersion(long crd,
long cntr,
int opCntr)
Sets new mvcc version.
|
protected int |
readHeader(GridCacheSharedContext<?,?> sharedCtx,
long addr,
int off,
CacheDataRowAdapter.RowData rowData)
Reads row header (i.e.
|
int |
size() |
String |
toString() |
cacheId, hash, key, link, partitioncacheId, expireTime, initFromDataPage, initFromLink, initFromLink, initFromLink, isReady, key, link, readFragment, readFullRow, readIncompleteCacheId, readIncompleteExpireTime, readIncompleteKey, readIncompleteValue, readIncompleteVersion, value, versionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitioVersionsnewMvccVersion, newMvccVersion, newMvccVersionmvccVersion, mvccVersion, mvccVersionpublic MvccDataRow(long link)
link - Link.public MvccDataRow(CacheGroupContext grp, int hash, long link, int part, CacheDataRowAdapter.RowData rowData, long crdVer, long mvccCntr, int mvccOpCntr, boolean skipVer)
grp - Context.hash - Key hash.link - Link.part - Partition number.rowData - Data.crdVer - Mvcc coordinator version.mvccCntr - Mvcc counter.mvccOpCntr - Mvcc operation counter.skipVer - Skip version flag.public MvccDataRow()
public MvccDataRow(KeyCacheObject key, CacheObject val, GridCacheVersion ver, int part, long expireTime, int cacheId, MvccVersion mvccVer, MvccVersion newMvccVer)
key - Key.val - Value.ver - Version.part - Partition.expireTime - Expire time.cacheId - Cache ID.mvccVer - Mvcc version.newMvccVer - New mvcc version.protected int readHeader(GridCacheSharedContext<?,?> sharedCtx, long addr, int off, CacheDataRowAdapter.RowData rowData)
readHeader in class CacheDataRowAdaptersharedCtx - Shared context.addr - Address.off - OffsetrowData - Required row data.public long mvccCoordinatorVersion()
mvccCoordinatorVersion in interface MvccVersionAwaremvccCoordinatorVersion in class CacheDataRowAdapterpublic long mvccCounter()
mvccCounter in interface MvccVersionAwaremvccCounter in class CacheDataRowAdapterpublic int mvccOperationCounter()
mvccOperationCounter in interface MvccVersionAwaremvccOperationCounter in class CacheDataRowAdapterpublic byte mvccTxState()
mvccTxState in interface MvccVersionAwaremvccTxState in class CacheDataRowAdapterpublic long newMvccCoordinatorVersion()
newMvccCoordinatorVersion in interface MvccUpdateVersionAwarenewMvccCoordinatorVersion in class CacheDataRowAdapterpublic long newMvccCounter()
newMvccCounter in interface MvccUpdateVersionAwarenewMvccCounter in class CacheDataRowAdapterpublic int newMvccOperationCounter()
newMvccOperationCounter in interface MvccUpdateVersionAwarenewMvccOperationCounter in class CacheDataRowAdapterpublic byte newMvccTxState()
newMvccTxState in interface MvccUpdateVersionAwarenewMvccTxState in class CacheDataRowAdapterpublic void newMvccVersion(long crd,
long cntr,
int opCntr)
crd - New mvcc coordinator version.cntr - New mvcc counter.opCntr - New mvcc operation counter.public void mvccVersion(long crd,
long cntr,
int opCntr)
crd - Mvcc coordinator version.cntr - Mvcc counter.opCntr - Mvcc operation counter.public void mvccTxState(byte mvccTxState)
mvccTxState - Mvcc version Tx state hint.public void newMvccTxState(byte newMvccTxState)
newMvccTxState - New Mvcc version Tx state hint.protected boolean keyAbsentBeforeFlag()
True if key absent before.protected void keyAbsentBeforeFlag(boolean flag)
flag - True if key is absent before.public int size()
throws IgniteCheckedException
size in interface Storablesize in class CacheDataRowAdapterIgniteCheckedException - If failed.public int headerSize()
headerSize in interface StorableheaderSize in class CacheDataRowAdapterpublic String toString()
toString in class CacheDataRowAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020