Package com.hazelcast.cp
Interface CPMember
public interface CPMember
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 CP Subsystem is initialized, other Hazelcast members can be promoted
to be a CP member via
CPSubsystemManagementService.promoteToCPMember()
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the address of this CP member.getUuid()
Returns the UUID of this CP member.
-
Method Details
-
getUuid
UUID 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 viaCluster.getLocalMember()
.- Returns:
- the UUID of this CP Member
-
getAddress
Address getAddress()Returns the address of this CP member. It is same with the address ofCluster.getLocalMember()
- Returns:
- the address of this CP member
-