java.lang.Comparable<SubClusterId>SubClusterIdPBImpl@Private @Unstable public abstract class SubClusterId extends java.lang.Object implements java.lang.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 | Description |
|---|---|
SubClusterId() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(SubClusterId other) |
|
boolean |
equals(java.lang.Object obj) |
|
abstract java.lang.String |
getId() |
Get the string identifier of the subcluster which is unique across
the federated cluster.
|
int |
hashCode() |
|
static SubClusterId |
newInstance(java.lang.Integer subClusterId) |
|
static SubClusterId |
newInstance(java.lang.String subClusterId) |
|
protected abstract void |
setId(java.lang.String subClusterId) |
Set the string identifier of the subcluster which is unique across
the federated cluster.
|
java.lang.String |
toString() |
@Private @Unstable public static SubClusterId newInstance(java.lang.String subClusterId)
@Private @Unstable public static SubClusterId newInstance(java.lang.Integer subClusterId)
@Public @Unstable public abstract java.lang.String getId()
@Private @Unstable protected abstract void setId(java.lang.String subClusterId)
subClusterId - unique identifier of the subclusterpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(SubClusterId other)
compareTo in interface java.lang.Comparable<SubClusterId>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.