com.hazelcast.map.impl.record
Class RecordStatistics

java.lang.Object
  extended by com.hazelcast.map.impl.record.RecordStatistics
All Implemented Interfaces:
DataSerializable

public class RecordStatistics
extends Object
implements DataSerializable

TODO empty statistics. Some statistics of a Record


Field Summary
protected  long expirationTime
           
protected  int hits
           
protected  long lastStoredTime
           
 
Constructor Summary
RecordStatistics()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hits

protected int hits

lastStoredTime

protected long lastStoredTime

expirationTime

protected long expirationTime
Constructor Detail

RecordStatistics

public RecordStatistics()
Method Detail

getHits

public int getHits()

setHits

public void setHits(int hits)

getExpirationTime

public long getExpirationTime()

setExpirationTime

public void setExpirationTime(long expirationTime)

access

public void access()

store

public void store()

getLastStoredTime

public long getLastStoredTime()

setLastStoredTime

public void setLastStoredTime(long lastStoredTime)

size

public long size()

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


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.