com.hazelcast.spi
Interface PartitionAwareService
- All Known Implementing Classes:
- InternalPartitionServiceImpl, MapService
public interface PartitionAwareService
An interface that can be implemented by SPI services to get notified of when a partition-related event occurs; for example,
if a MapService
notifies its map listeners when partition is lost for a map.
- See Also:
InternalPartitionLostEvent
onPartitionLost
void onPartitionLost(InternalPartitionLostEvent event)
- Invoked when a partition lost is detected
- Parameters:
event
- The event object that contains the partition id and the number of replicas that is lost
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.