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)  
      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)  
    • 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)
      • 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)
    • Method Detail

      • getNodeAddress

        public java.lang.String getNodeAddress()
      • getMetadata

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

        public boolean getReadOnly()
      • getLastAdminTx

        public java.util.UUID getLastAdminTx()
      • getLastZKSystemDbTx

        public java.lang.String getLastZKSystemDbTx()
      • isCoordinator

        public boolean isCoordinator()