public class MvccTxEntry extends Object
| Constructor and Description |
|---|
MvccTxEntry(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
CacheObject oldVal,
boolean primary,
AffinityTopologyVersion topVer,
MvccVersion mvccVer,
int cacheId) |
| Modifier and Type | Method and Description |
|---|---|
int |
cacheId() |
long |
expireTime() |
boolean |
isPrimary() |
KeyCacheObject |
key() |
MvccVersion |
mvccVersion() |
CacheObject |
oldValue() |
void |
oldValue(CacheObject oldVal) |
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
long |
ttl() |
long |
updateCounter() |
void |
updateCounter(long updCntr) |
CacheObject |
value() |
GridCacheVersion |
version() |
GridCacheRawVersionedEntry |
versionedEntry() |
public MvccTxEntry(KeyCacheObject key, @Nullable @Nullable CacheObject val, long ttl, long expireTime, GridCacheVersion ver, CacheObject oldVal, boolean primary, AffinityTopologyVersion topVer, MvccVersion mvccVer, int cacheId)
key - Key.val - New value.ttl - Time to live.expireTime - Expire time.ver - Tx grig cache version.oldVal - Old value.primary - True if this is a primary node.topVer - Topology version.mvccVer - Mvcc version.cacheId - Cache id.public GridCacheRawVersionedEntry versionedEntry()
public KeyCacheObject key()
public CacheObject value()
public long ttl()
public long expireTime()
public GridCacheVersion version()
public CacheObject oldValue()
public void oldValue(CacheObject oldVal)
oldVal - Old value.public boolean isPrimary()
True if this entry is created on a primary node.public AffinityTopologyVersion topologyVersion()
public MvccVersion mvccVersion()
public int cacheId()
public long updateCounter()
public void updateCounter(long updCntr)
updCntr - Update counter.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020