@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SubClusterId extends Object implements Comparable<SubClusterId>
SubClusterId represents the globally unique identifier for a subcluster that is participating in federation.
 The globally unique nature of the identifier is obtained from the
 FederationMembershipStateStore on initialization.
| Constructor and Description | 
|---|
| SubClusterId() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(SubClusterId other) | 
| boolean | equals(Object obj) | 
| abstract String | getId()Get the string identifier of the subcluster which is unique across
 the federated cluster. | 
| int | hashCode() | 
| static SubClusterId | newInstance(String subClusterId) | 
| protected abstract void | setId(String subClusterId)Set the string identifier of the subcluster which is unique across
 the federated cluster. | 
| String | toString() | 
@InterfaceAudience.Private @InterfaceStability.Unstable public static SubClusterId newInstance(String subClusterId)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getId()
@InterfaceAudience.Private @InterfaceStability.Unstable protected abstract void setId(String subClusterId)
subClusterId - unique identifier of the subclusterpublic int compareTo(SubClusterId other)
compareTo in interface Comparable<SubClusterId>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.