Interface GridCacheVersionedEntry<K,V>
-
- All Known Subinterfaces:
GridCacheVersionedEntryEx<K,V>
- All Known Implementing Classes:
GridCacheLazyPlainVersionedEntry,GridCachePlainVersionedEntry,GridCacheRawVersionedEntry
public interface GridCacheVersionedEntry<K,V>Cache entry along with version information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytedataCenterId()Gets ID of initiator data center.longexpireTime()Gets entry's expire time.Kkey()Gets entry's key.longorder()Gets entry's order in initiator data center.inttopologyVersion()Gets entry's topology version in initiator data center.longttl()Gets entry's TTL.Vvalue(CacheObjectValueContext ctx)Gets entry's value.
-
-
-
Method Detail
-
key
K key()
Gets entry's key.- Returns:
- Entry's key.
-
value
@Nullable V value(CacheObjectValueContext ctx)
Gets entry's value.- Parameters:
ctx- Object value context.- Returns:
- Entry's value.
-
ttl
long ttl()
Gets entry's TTL.- Returns:
- Entry's TTL.
-
expireTime
long expireTime()
Gets entry's expire time.- Returns:
- Entry's expire time.
-
dataCenterId
byte dataCenterId()
Gets ID of initiator data center.- Returns:
- ID of initiator data center.
-
topologyVersion
int topologyVersion()
Gets entry's topology version in initiator data center.- Returns:
- Entry's topology version in initiator data center.
-
order
long order()
Gets entry's order in initiator data center.- Returns:
- Entry's order in initiator data center
-
-