com.hazelcast.core

## Interface MigrationListener

- All Superinterfaces:
    EventListener

      public interface MigrationListener
      extends EventListener

  MigrationListener provides the ability to listen to partition migration events.
  See Also:
    `Partition`, `PartitionService`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `migrationCompleted(MigrationEvent migrationEvent)` Invoked when a partition migration is completed.
    `void` | `migrationFailed(MigrationEvent migrationEvent)` Invoked when a partition migration is failed.
    `void` | `migrationStarted(MigrationEvent migrationEvent)` Invoked when a partition migration is started.

- - ### Method Detail

    - #### migrationStarted

          void migrationStarted(MigrationEvent migrationEvent)

      Invoked when a partition migration is started.
      Parameters:
        `migrationEvent` - the event for the started partition migration

    - #### migrationCompleted

          void migrationCompleted(MigrationEvent migrationEvent)

      Invoked when a partition migration is completed.
      Parameters:
        `migrationEvent` - the event for the completed partition migration

    - #### migrationFailed

          void migrationFailed(MigrationEvent migrationEvent)

      Invoked when a partition migration is failed.
      Parameters:
        `migrationEvent` - the event for the failed partition migration

Copyright © 2020. All rights reserved.