public class MigratingPartition extends Object implements DataSerializable
Modifier and Type | Field and Description |
---|---|
protected Address |
from |
protected int |
partitionId |
protected int |
replicaIndex |
protected Address |
to |
Constructor and Description |
---|
MigratingPartition() |
MigratingPartition(int partitionId,
int replicaIndex,
Address from,
Address to) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCreationTime() |
Address |
getFromAddress() |
int |
getPartitionId() |
int |
getReplicaIndex() |
Address |
getToAddress() |
int |
hashCode() |
void |
readData(DataInput in) |
String |
toString() |
void |
writeData(DataOutput out) |
protected int partitionId
protected Address from
protected Address to
protected int replicaIndex
public Address getFromAddress()
public Address getToAddress()
public int getReplicaIndex()
public long getCreationTime()
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
public int getPartitionId()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.