com.hazelcast.map.impl.record
public class RecordInfo extends Object implements DataSerializable
Modifier and Type | Field and Description |
---|---|
protected long |
creationTime |
protected long |
evictionCriteriaNumber |
protected long |
lastAccessTime |
protected long |
lastUpdateTime |
protected RecordStatistics |
statistics |
protected long |
ttl |
protected long |
version |
Constructor and Description |
---|
RecordInfo() |
RecordInfo(RecordInfo recordInfo) |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime() |
long |
getEvictionCriteriaNumber() |
long |
getLastAccessTime() |
long |
getLastUpdateTime() |
RecordStatistics |
getStatistics() |
long |
getTtl() |
long |
getVersion() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setCreationTime(long creationTime) |
void |
setEvictionCriteriaNumber(long evictionCriteriaNumber) |
void |
setLastAccessTime(long lastAccessTime) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setStatistics(RecordStatistics statistics) |
void |
setTtl(long ttl) |
void |
setVersion(long version) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
protected RecordStatistics statistics
protected long version
protected long evictionCriteriaNumber
protected long ttl
protected long creationTime
protected long lastAccessTime
protected long lastUpdateTime
public RecordInfo()
public RecordInfo(RecordInfo recordInfo)
public RecordStatistics getStatistics()
public void setStatistics(RecordStatistics statistics)
public long getVersion()
public void setVersion(long version)
public long getEvictionCriteriaNumber()
public void setEvictionCriteriaNumber(long evictionCriteriaNumber)
public long getTtl()
public void setTtl(long ttl)
public long getCreationTime()
public void setCreationTime(long creationTime)
public long getLastAccessTime()
public void setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
public void setLastUpdateTime(long lastUpdateTime)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.