com.hazelcast.map.impl.record
Class RecordInfo
java.lang.Object
com.hazelcast.map.impl.record.RecordInfo
- All Implemented Interfaces:
- DataSerializable
- Direct Known Subclasses:
- RecordReplicationInfo
public class RecordInfo
- extends Object
- implements DataSerializable
Record info.
statistics
protected RecordStatistics statistics
version
protected long version
evictionCriteriaNumber
protected long evictionCriteriaNumber
ttl
protected long ttl
creationTime
protected long creationTime
lastAccessTime
protected long lastAccessTime
lastUpdateTime
protected long lastUpdateTime
RecordInfo
public RecordInfo()
RecordInfo
public RecordInfo(RecordInfo recordInfo)
getStatistics
public RecordStatistics getStatistics()
setStatistics
public void setStatistics(RecordStatistics statistics)
getVersion
public long getVersion()
setVersion
public void setVersion(long version)
getEvictionCriteriaNumber
public long getEvictionCriteriaNumber()
setEvictionCriteriaNumber
public void setEvictionCriteriaNumber(long evictionCriteriaNumber)
getTtl
public long getTtl()
setTtl
public void setTtl(long ttl)
getCreationTime
public long getCreationTime()
setCreationTime
public void setCreationTime(long creationTime)
getLastAccessTime
public long getLastAccessTime()
setLastAccessTime
public void setLastAccessTime(long lastAccessTime)
getLastUpdateTime
public long getLastUpdateTime()
setLastUpdateTime
public void setLastUpdateTime(long lastUpdateTime)
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.