public class GridCachePlainVersionedEntry<K,V> extends Object implements GridCacheVersionedEntryEx<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected K |
key
Key.
|
protected V |
val
Value.
|
| Constructor and Description |
|---|
GridCachePlainVersionedEntry(K key,
V val,
long ttl,
long expireTime,
GridCacheVersion ver) |
GridCachePlainVersionedEntry(K key,
V val,
long ttl,
long expireTime,
GridCacheVersion ver,
boolean isStartVer) |
| Modifier and Type | Method and Description |
|---|---|
byte |
dataCenterId()
Gets ID of initiator data center.
|
long |
expireTime()
Gets entry's expire time.
|
boolean |
isStartVersion() |
K |
key()
Gets entry's key.
|
long |
order()
Gets entry's order in initiator data center.
|
int |
topologyVersion()
Gets entry's topology version in initiator data center.
|
String |
toString() |
long |
ttl()
Gets entry's TTL.
|
V |
value(CacheObjectValueContext ctx)
Gets entry's value.
|
GridCacheVersion |
version() |
@GridToStringInclude protected K key
@GridToStringInclude protected V val
public GridCachePlainVersionedEntry(K key, @Nullable V val, long ttl, long expireTime, GridCacheVersion ver)
key - Key.val - Value.ttl - TTL.expireTime - Expire time.ver - Version.public GridCachePlainVersionedEntry(K key, V val, long ttl, long expireTime, GridCacheVersion ver, boolean isStartVer)
key - Key.val - Value.ttl - TTL.expireTime - Expire time.ver - Version.isStartVer - Start version flag.public K key()
key in interface GridCacheVersionedEntry<K,V>public V value(CacheObjectValueContext ctx)
value in interface GridCacheVersionedEntry<K,V>ctx - Object value context.public long ttl()
ttl in interface GridCacheVersionedEntry<K,V>public long expireTime()
expireTime in interface GridCacheVersionedEntry<K,V>public byte dataCenterId()
dataCenterId in interface GridCacheVersionedEntry<K,V>public int topologyVersion()
topologyVersion in interface GridCacheVersionedEntry<K,V>public long order()
order in interface GridCacheVersionedEntry<K,V>public GridCacheVersion version()
version in interface GridCacheVersionablepublic boolean isStartVersion()
isStartVersion in interface GridCacheVersionedEntryEx<K,V>True if entry is new.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020