public class NearCacheRecord extends Object
Constructor and Description |
---|
NearCacheRecord(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
access() |
static Comparator<NearCacheRecord> |
getComparator(EvictionPolicy evictionPolicy) |
long |
getCost() |
Object |
getKey() |
Object |
getValue() |
boolean |
isExpired(long maxIdleMillis,
long timeToLiveMillis) |
public Object getKey()
public Object getValue()
public void access()
public long getCost()
public boolean isExpired(long maxIdleMillis, long timeToLiveMillis)
public static Comparator<NearCacheRecord> getComparator(EvictionPolicy evictionPolicy)
evictionPolicy
- EvictionPolicyCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.