com.hazelcast.map.impl.record
Interface Record<V>

Type Parameters:
V -

public interface Record<V>


Field Summary
static Object NOT_CACHED
          If not a CachedDataRecord.
 
Method Summary
 Object getCachedValue()
           
 long getCost()
           
 long getCreationTime()
           
 long getEvictionCriteriaNumber()
           
 Data getKey()
           
 long getLastAccessTime()
           
 long getLastUpdateTime()
           
 RecordStatistics getStatistics()
           
 long getTtl()
           
 V getValue()
           
 long getVersion()
           
 void invalidate()
           
 void onAccess()
           
 void onStore()
           
 void onUpdate()
           
 void setCachedValue(Object cachedValue)
           
 void setCreationTime(long creationTime)
           
 void setEvictionCriteriaNumber(long evictionCriteriaNumber)
           
 void setLastAccessTime(long lastAccessTime)
           
 void setLastUpdateTime(long lastUpdatedTime)
           
 void setStatistics(RecordStatistics stats)
           
 void setTtl(long ttl)
           
 void setValue(V value)
           
 void setVersion(long version)
           
 

Field Detail

NOT_CACHED

static final Object NOT_CACHED
If not a CachedDataRecord.

Method Detail

getKey

Data getKey()

getValue

V getValue()

setValue

void setValue(V value)

invalidate

void invalidate()

getStatistics

RecordStatistics getStatistics()

setStatistics

void setStatistics(RecordStatistics stats)

onAccess

void onAccess()

onUpdate

void onUpdate()

onStore

void onStore()

getCost

long getCost()

getVersion

long getVersion()

setVersion

void setVersion(long version)

setEvictionCriteriaNumber

void setEvictionCriteriaNumber(long evictionCriteriaNumber)

getEvictionCriteriaNumber

long getEvictionCriteriaNumber()

getCachedValue

Object getCachedValue()

setCachedValue

void setCachedValue(Object cachedValue)

getTtl

long getTtl()

setTtl

void setTtl(long ttl)

getLastAccessTime

long getLastAccessTime()

setLastAccessTime

void setLastAccessTime(long lastAccessTime)

getLastUpdateTime

long getLastUpdateTime()

setLastUpdateTime

void setLastUpdateTime(long lastUpdatedTime)

getCreationTime

long getCreationTime()

setCreationTime

void setCreationTime(long creationTime)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.