com.hazelcast.monitor

## Interface MemberPartitionState

- All Superinterfaces:
    com.hazelcast.internal.management.JsonSerializable

      public interface MemberPartitionState
      extends com.hazelcast.internal.management.JsonSerializable

  Partition related statistics to be used by `MemberState` implementations.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getMigrationQueueSize()` Returns the migration queue size (this statistic is valid only for master).
    `List<Integer>` | `getPartitions()` Returns a list of owned partitions of the member.
    `boolean` | `isMemberStateSafe()` Returns whether member is safe for shutdown.

    - ### Methods inherited from interface com.hazelcast.internal.management.JsonSerializable

      `fromJson, toJson`

- - ### Method Detail

    - #### getPartitions

          List<Integer> getPartitions()

      Returns a list of owned partitions of the member.
      Returns:
        list of owned partitions of the member

    - #### isMemberStateSafe

          boolean isMemberStateSafe()

      Returns whether member is safe for shutdown.
      Returns:
        `true` if member is safe for shutdown, `false` otherwise

    - #### getMigrationQueueSize

          long getMigrationQueueSize()

      Returns the migration queue size (this statistic is valid only for master).
      Returns:
        migration queue size

Copyright © 2020. All rights reserved.