com.hazelcast.cp

## Interface CPMember

- All Superinterfaces:
    Endpoint

      public interface CPMember
      extends Endpoint

  A CP member is a Hazelcast member that is internally elected to be part of the `CPSubsystem`, hence maintain CP data structures. If `CPSubsystemConfig.getCPMemberCount()` is configured to be N, first N members of the cluster are assigned as CP members during startup. After the CP subsystem is initialized, other Hazelcast members can be promoted to be a CP member via the `CPSubsystemManagementService.promoteToCPMember()` API.
  See Also:
    `CPSubsystemConfig`, `CPSubsystemManagementService`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Address` | `getAddress()` Returns the address of this CP member.
    `String` | `getUuid()` Returns the UUID of this CP member.

    - ### Methods inherited from interface com.hazelcast.core.Endpoint

      `getSocketAddress`

- - ### Method Detail

    - #### getUuid

          String getUuid()

      Returns the UUID of this CP member. The CP member UUID does not have to be same with the uuid of the local member that is accessed via `Cluster.getLocalMember()`.
      Specified by:
        `getUuid` in interface `Endpoint`
      Returns:
        the UUID of this CP Member

    - #### getAddress

          Address getAddress()

      Returns the address of this CP member. It is same with the address of `Cluster.getLocalMember()`
      Returns:
        the address of this CP member

Copyright © 2020. All rights reserved.