public class PartitionReplicationEvent extends Object
MigrationAwareService when partition changes happen.| 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() |
public PartitionReplicationEvent(int partitionId,
int replicaIndex)
partitionId - the partition IDreplicaIndex - the replica indexCopyright © 2019 Hazelcast, Inc.. All rights reserved.