public class RecordReplicationInfo extends RecordInfo
creationTime, expirationTime, hits, lastAccessTime, lastStoredTime, lastUpdateTime, maxIdle, 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, getMaxIdle, getTtl, getVersion, setCreationTime, setExpirationTime, setHits, setLastAccessTime, setLastStoredTime, setLastUpdateTime, setMaxIdle, setTtl, setVersionpublic RecordReplicationInfo(Data key, Data value, RecordInfo recordInfo)
public RecordReplicationInfo()
public Data getKey()
public Data getValue()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class RecordInfoout - 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
DataSerializablereadData in interface DataSerializablereadData in class RecordInfoin - 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 RecordInfopublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class RecordInfoCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.