com.hazelcast.map.impl.record
public class RecordStatistics extends Object implements DataSerializable
Record
Modifier and Type | Field and Description |
---|---|
protected long |
expirationTime |
protected int |
hits |
protected long |
lastStoredTime |
Constructor and Description |
---|
RecordStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
access() |
long |
getExpirationTime() |
int |
getHits() |
long |
getLastStoredTime() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setExpirationTime(long expirationTime) |
void |
setHits(int hits) |
void |
setLastStoredTime(long lastStoredTime) |
long |
size() |
void |
store() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
protected int hits
protected long lastStoredTime
protected long expirationTime
public int getHits()
public void setHits(int hits)
public long getExpirationTime()
public void setExpirationTime(long expirationTime)
public void access()
public void store()
public long getLastStoredTime()
public void setLastStoredTime(long lastStoredTime)
public long size()
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.