public class PartitionReplicationEvent extends EventObject
MigrationAwareService when partition changes happen.source| Constructor and Description | 
|---|
| PartitionReplicationEvent(int partitionId,
                         int replicaIndex)Creates a PartitionReplicationEvent | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getPartitionId()Gets the id of the partition. | 
| int | getReplicaIndex()Gets the replica index. | 
| String | toString() | 
getSourcepublic PartitionReplicationEvent(int partitionId,
                         int replicaIndex)
partitionId - the partition id.replicaIndex - the replica index.public int getPartitionId()
public int getReplicaIndex()
public String toString()
toString in class EventObjectCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.