public class RecordMigrationInfo extends Object implements IdentifiedDataSerializable
Constructor and Description |
---|
RecordMigrationInfo() |
RecordMigrationInfo(Data key,
Data value,
long ttl) |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
long |
getHits() |
int |
getId()
Returns type identifier for this class.
|
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
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.