Class ClusterId


  • @Deprecated(since="2021-05-27")
    public final class ClusterId
    extends java.lang.Object
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A client-generated identifier that uniquely identifies a connection to a MongoDB cluster, which could be sharded, replica set, or standalone.
    Since:
    3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterId()
      Deprecated.
      Construct an instance.
      ClusterId​(java.lang.String description)
      Deprecated.
      Construct an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Deprecated.
       
      java.lang.String getDescription()
      Deprecated.
      Gets the user defined description of the MongoClient.
      java.lang.String getValue()
      Deprecated.
      Gets the value of the identifier.
      int hashCode()
      Deprecated.
       
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClusterId

        public ClusterId()
        Deprecated.
        Construct an instance.
      • ClusterId

        public ClusterId​(java.lang.String description)
        Deprecated.
        Construct an instance.
        Parameters:
        description - the user defined description of the MongoClient
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Deprecated.
        Gets the value of the identifier.
        Returns:
        the value
      • getDescription

        public java.lang.String getDescription()
        Deprecated.
        Gets the user defined description of the MongoClient.
        Returns:
        the user defined description of the MongoClient
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object