Package com.hazelcast.cp
Interface CPMember
-
public interface CPMember
A CP member is a Hazelcast member that is internally elected to be part of theCPSubsystem
, hence maintain CP data structures. IfCPSubsystemConfig.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 viaCPSubsystemManagementService.promoteToCPMember()
.- See Also:
CPSubsystem
,CPSubsystemConfig
,CPSubsystemManagementService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address
getAddress()
Returns the address of this CP member.java.util.UUID
getUuid()
Returns the UUID of this CP member.
-
-
-
Method Detail
-
getUuid
java.util.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
-
-