public class RecordMigrationInfo extends Object implements DataSerializable
Constructor and Description |
---|
RecordMigrationInfo() |
RecordMigrationInfo(Data key,
Data value,
long ttl) |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime() |
long |
getHits() |
Data |
getKey() |
long |
getLastAccessTime() |
long |
getLastUpdateTime() |
long |
getTtl() |
Data |
getValue() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setCreationTime(long creationTime) |
void |
setHits(long hits) |
void |
setKey(Data key) |
void |
setLastAccessTime(long lastAccessTime) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setTtl(long ttl) |
void |
setValue(Data value) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public Data getKey()
public void setKey(Data key)
public Data getValue()
public void setValue(Data value)
public long getTtl()
public void setTtl(long ttl)
public long getHits()
public void setHits(long hits)
public long getLastAccessTime()
public void setLastAccessTime(long lastAccessTime)
public long getLastUpdateTime()
public void setLastUpdateTime(long lastUpdateTime)
public long getCreationTime()
public void setCreationTime(long creationTime)
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 © 2016 Hazelcast, Inc.. All Rights Reserved.