public interface IPartitionLostEvent
PartitionAwareService.onPartitionLost(com.hazelcast.spi.partition.IPartitionLostEvent)
It contains the partition ID, number of replicas that is lost and the address of node that detects the partition lost.
Modifier and Type | Method and Description |
---|---|
Address |
getEventSource()
The address of the node that detects the partition lost.
|
int |
getLostReplicaIndex()
0-based replica index that is lost for the partition.
|
int |
getPartitionId()
The partition ID that is lost.
|
int getPartitionId()
int getLostReplicaIndex()
For instance, 0 means only the owner of the partition is lost, 1 means both the owner and first backup are lost.
Address getEventSource()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.