com.hazelcast.spi

## Interface PartitionAwareService

-     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:
    `IPartitionLostEvent`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onPartitionLost(IPartitionLostEvent event)` Invoked when a partition lost is detected

- - ### Method Detail

    - #### onPartitionLost

          void onPartitionLost(IPartitionLostEvent 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 © 2020. All rights reserved.