com.hazelcast.client.spi

## Interface ClientPartitionService

-     public interface ClientPartitionService

  Partition service for Hazelcast clients. Allows to retrieve information about the partition count, the partition owner or the partitionId of a key.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Partition` | `getPartition(int partitionId)`
    `int` | `getPartitionCount()`
    `int` | `getPartitionId(Data key)`
    `int` | `getPartitionId(Object key)`
    `Address` | `getPartitionOwner(int partitionId)`
    `void` | `reset()`

- - ### Method Detail

    - #### getPartitionOwner

          Address getPartitionOwner(int partitionId)

    - #### getPartitionId

          int getPartitionId(Data key)

    - #### getPartitionId

          int getPartitionId(Object key)

    - #### getPartitionCount

          int getPartitionCount()

    - #### getPartition

          Partition getPartition(int partitionId)

    - #### reset

          void reset()

Copyright © 2020. All rights reserved.