public class RecordReplicationInfo extends RecordInfo
creationTime, expirationTime, hits, lastAccessTime, lastStoredTime, lastUpdateTime, ttl, version
Constructor and Description |
---|
RecordReplicationInfo() |
RecordReplicationInfo(Data key,
Data value,
RecordInfo recordInfo) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
Data |
getKey() |
Data |
getValue() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getCreationTime, getExpirationTime, getFactoryId, getHits, getLastAccessTime, getLastStoredTime, getLastUpdateTime, getTtl, getVersion, setCreationTime, setExpirationTime, setHits, setLastAccessTime, setLastStoredTime, setLastUpdateTime, setTtl, setVersion
public RecordReplicationInfo(Data key, Data value, RecordInfo recordInfo)
public RecordReplicationInfo()
public Data getKey()
public Data getValue()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class RecordInfo
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class RecordInfo
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public String toString()
toString
in class RecordInfo
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class RecordInfo
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.