Class ClusterNodeStatus


  • public class ClusterNodeStatus
    extends java.lang.Object

    A convenience class to status information from many nodes

    Since:
    5.0
    Version:
    5.0
    Author:
    John Bresnahan
    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterNodeStatus​(java.lang.String theNodeAddress, java.util.Map<java.lang.String,​java.lang.Object> theMetadata, ClusterNodeType theNodeType, ClusterNodeRole theNodeRole, boolean theReadOnly, java.util.UUID theLastAdminTx, java.util.UUID theLastZKSystemDbTx, java.util.Map<java.lang.String,​java.util.UUID> theDatabaseTxns, java.util.Map<java.lang.String,​java.util.UUID> theZKDatabaseTxns)  
      ClusterNodeStatus​(java.lang.String theNodeAddress, java.util.Map<java.lang.String,​java.lang.Object> theMetadata, java.lang.String theNodeType, java.lang.String theNodeRole, boolean theReadOnly, java.util.UUID theLastAdminTx, java.util.UUID theLastZKSystemDbTx, java.util.Map<java.lang.String,​java.util.UUID> theDatabaseTxns, java.util.Map<java.lang.String,​java.util.UUID> theZKDatabaseTxns)  
    • Constructor Detail

      • ClusterNodeStatus

        public ClusterNodeStatus​(java.lang.String theNodeAddress,
                                 java.util.Map<java.lang.String,​java.lang.Object> theMetadata,
                                 java.lang.String theNodeType,
                                 java.lang.String theNodeRole,
                                 boolean theReadOnly,
                                 java.util.UUID theLastAdminTx,
                                 java.util.UUID theLastZKSystemDbTx,
                                 java.util.Map<java.lang.String,​java.util.UUID> theDatabaseTxns,
                                 java.util.Map<java.lang.String,​java.util.UUID> theZKDatabaseTxns)
      • ClusterNodeStatus

        public ClusterNodeStatus​(java.lang.String theNodeAddress,
                                 java.util.Map<java.lang.String,​java.lang.Object> theMetadata,
                                 ClusterNodeType theNodeType,
                                 ClusterNodeRole theNodeRole,
                                 boolean theReadOnly,
                                 java.util.UUID theLastAdminTx,
                                 java.util.UUID theLastZKSystemDbTx,
                                 java.util.Map<java.lang.String,​java.util.UUID> theDatabaseTxns,
                                 java.util.Map<java.lang.String,​java.util.UUID> theZKDatabaseTxns)
    • Method Detail

      • getNodeAddress

        public java.lang.String getNodeAddress()
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
      • getDatabaseTxns

        public java.util.Map<java.lang.String,​java.util.UUID> getDatabaseTxns()
      • getZKDatabaseTxns

        public java.util.Map<java.lang.String,​java.util.UUID> getZKDatabaseTxns()
      • getReadOnly

        public boolean getReadOnly()
      • getLastAdminTx

        public java.util.UUID getLastAdminTx()
      • getLastZKSystemDbTx

        public java.lang.String getLastZKSystemDbTx()
      • isCoordinator

        public boolean isCoordinator()