Class ClusterInfoCommand.ClusterInfo

  • Enclosing class:
    ClusterInfoCommand

    public static class ClusterInfoCommand.ClusterInfo
    extends java.lang.Object
    POJO definition for the cluster info response.
    • Constructor Detail

      • ClusterInfo

        public ClusterInfo()
    • Method Detail

      • isAuditorElected

        public boolean isAuditorElected()
      • getAuditorId

        public java.lang.String getAuditorId()
      • isClusterUnderReplicated

        public boolean isClusterUnderReplicated()
      • isLedgerReplicationEnabled

        public boolean isLedgerReplicationEnabled()
      • getTotalBookiesCount

        public int getTotalBookiesCount()
      • getWritableBookiesCount

        public int getWritableBookiesCount()
      • getReadonlyBookiesCount

        public int getReadonlyBookiesCount()
      • getUnavailableBookiesCount

        public int getUnavailableBookiesCount()
      • setAuditorElected

        public void setAuditorElected​(boolean auditorElected)
      • setAuditorId

        public void setAuditorId​(java.lang.String auditorId)
      • setClusterUnderReplicated

        public void setClusterUnderReplicated​(boolean clusterUnderReplicated)
      • setLedgerReplicationEnabled

        public void setLedgerReplicationEnabled​(boolean ledgerReplicationEnabled)
      • setTotalBookiesCount

        public void setTotalBookiesCount​(int totalBookiesCount)
      • setWritableBookiesCount

        public void setWritableBookiesCount​(int writableBookiesCount)
      • setReadonlyBookiesCount

        public void setReadonlyBookiesCount​(int readonlyBookiesCount)
      • setUnavailableBookiesCount

        public void setUnavailableBookiesCount​(int unavailableBookiesCount)
      • equals

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

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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