public class RecordInfo extends Object implements DataSerializable
Modifier and Type | Field and Description |
---|---|
protected long |
creationTime |
protected long |
expirationTime |
protected long |
hits |
protected long |
lastAccessTime |
protected long |
lastStoredTime |
protected long |
lastUpdateTime |
protected long |
ttl |
protected long |
version |
Constructor and Description |
---|
RecordInfo() |
RecordInfo(RecordInfo recordInfo) |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime() |
long |
getExpirationTime() |
long |
getHits() |
long |
getLastAccessTime() |
long |
getLastStoredTime() |
long |
getLastUpdateTime() |
long |
getTtl() |
long |
getVersion() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setCreationTime(long creationTime) |
void |
setExpirationTime(long expirationTime) |
void |
setHits(long hits) |
void |
setLastAccessTime(long lastAccessTime) |
void |
setLastStoredTime(long lastStoredTime) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setTtl(long ttl) |
void |
setVersion(long version) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
protected long version
protected long ttl
protected long creationTime
protected long lastAccessTime
protected long lastUpdateTime
protected long hits
protected long lastStoredTime
protected long expirationTime
public RecordInfo()
public RecordInfo(RecordInfo recordInfo)
public long getVersion()
public void setVersion(long version)
public long getHits()
public void setHits(long hits)
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 long getExpirationTime()
public void setExpirationTime(long expirationTime)
public long getLastStoredTime()
public void setLastStoredTime(long lastStoredTime)
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 © 2016 Hazelcast, Inc.. All Rights Reserved.