public class DataRecord extends AbstractRecord<Data> implements Record<Data>
Modifier and Type | Field and Description |
---|---|
protected Data |
value |
evictionCriteriaNumber, key, statistics, version
Constructor and Description |
---|
DataRecord() |
DataRecord(Data keyData,
Data value,
boolean statisticsEnabled) |
Modifier and Type | Method and Description |
---|---|
long |
getCost() |
Data |
getValue() |
void |
invalidate() |
void |
setValue(Data o) |
equals, getEvictionCriteriaNumber, getKey, getStatistics, getVersion, hashCode, onAccess, onStore, onUpdate, setEvictionCriteriaNumber, setStatistics, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEvictionCriteriaNumber, getKey, getStatistics, getVersion, onAccess, onStore, onUpdate, setEvictionCriteriaNumber, setStatistics, setVersion
protected Data value
public long getCost()
public void invalidate()
invalidate
in interface Record<Data>
Copyright © 2014 Hazelcast, Inc.. All rights reserved.