public class DataEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
cacheId
Cache ID.
|
protected long |
expireTime
Expire time.
|
protected KeyCacheObject |
key
Cache object key.
|
protected GridCacheVersion |
nearXidVer
Near transaction version.
|
protected GridCacheOperation |
op
Entry operation performed.
|
protected long |
partCnt |
protected int |
partId
Partition ID.
|
protected CacheObject |
val
Cache object value.
|
protected GridCacheVersion |
writeVer
Write version.
|
| Constructor and Description |
|---|
DataEntry(int cacheId,
KeyCacheObject key,
CacheObject val,
GridCacheOperation op,
GridCacheVersion nearXidVer,
GridCacheVersion writeVer,
long expireTime,
int partId,
long partCnt) |
| Modifier and Type | Method and Description |
|---|---|
int |
cacheId() |
long |
expireTime() |
KeyCacheObject |
key() |
GridCacheVersion |
nearXidVersion() |
GridCacheOperation |
op() |
long |
partitionCounter() |
DataEntry |
partitionCounter(long partCnt)
Sets partition update counter to entry.
|
int |
partitionId() |
String |
toString() |
CacheObject |
value() |
GridCacheVersion |
writeVersion() |
@GridToStringInclude protected int cacheId
protected KeyCacheObject key
@Nullable protected CacheObject val
GridCacheOperation.DELETE@GridToStringInclude protected GridCacheOperation op
protected GridCacheVersion nearXidVer
@GridToStringInclude protected GridCacheVersion writeVer
protected long expireTime
@GridToStringInclude protected int partId
@GridToStringInclude protected long partCnt
public DataEntry(int cacheId,
KeyCacheObject key,
@Nullable
CacheObject val,
GridCacheOperation op,
GridCacheVersion nearXidVer,
GridCacheVersion writeVer,
long expireTime,
int partId,
long partCnt)
cacheId - Cache ID.key - Key.val - Value or null for delete operation.op - Operation.nearXidVer - Near transaction version.writeVer - Write version.expireTime - Expire time.partId - Partition ID.partCnt - Partition counter.public int cacheId()
public KeyCacheObject key()
public CacheObject value()
public GridCacheOperation op()
public GridCacheVersion nearXidVersion()
public GridCacheVersion writeVersion()
public int partitionId()
public long partitionCounter()
public DataEntry partitionCounter(long partCnt)
partCnt - Partition update counter.this for chaining.public long expireTime()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019