Package com.hazelcast.partition
Interface PartitionEvent
- All Known Subinterfaces:
PartitionLostEvent
,ReplicaMigrationEvent
public interface PartitionEvent
PartitionEvent is a base interface for partition related events.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the partition ID that the event is dispatched for.
-
Method Details
-
getPartitionId
int getPartitionId()Returns the partition ID that the event is dispatched for.- Returns:
- the partition ID that the event is dispatched for
-