com.hazelcast.map.impl.record
Class RecordInfo

java.lang.Object
  extended by com.hazelcast.map.impl.record.RecordInfo
All Implemented Interfaces:
DataSerializable
Direct Known Subclasses:
RecordReplicationInfo

public class RecordInfo
extends Object
implements DataSerializable

Record info.


Field Summary
protected  long creationTime
           
protected  long evictionCriteriaNumber
           
protected  long lastAccessTime
           
protected  long lastUpdateTime
           
protected  RecordStatistics statistics
           
protected  long ttl
           
protected  long version
           
 
Constructor Summary
RecordInfo()
           
RecordInfo(RecordInfo recordInfo)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

RecordInfo

public RecordInfo()

RecordInfo

public RecordInfo(RecordInfo recordInfo)
Method Detail

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.