Class ClusterId

java.lang.Object
org.apache.hadoop.hbase.ClusterId

@Private public class ClusterId extends Object
The identifier for this cluster. It is serialized to the filesystem and up into zookeeper. This is a container for the id. Also knows how to serialize and deserialize the cluster id.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    New ClusterID.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId
    Returns A pb instance to represent this instance.
    static ClusterId
    convert(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos.ClusterId cid)
    Returns A ClusterId made from the passed in cid
    static ClusterId
    parseFrom(byte[] bytes)
    Parse the serialized representation of the ClusterId
    byte[]
    Returns The clusterid serialized using pb w/ pb magic prefix
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait