Class TConfigNodeInfo

    • Field Detail

      • configNodeId

        public int configNodeId
      • status

        public String status
      • internalAddress

        public String internalAddress
      • internalPort

        public int internalPort
      • roleType

        public String roleType
    • Constructor Detail

      • TConfigNodeInfo

        public TConfigNodeInfo()
      • TConfigNodeInfo

        public TConfigNodeInfo​(int configNodeId,
                               String status,
                               String internalAddress,
                               int internalPort,
                               String roleType)
      • TConfigNodeInfo

        public TConfigNodeInfo​(TConfigNodeInfo other)
        Performs a deep copy on other.
    • Method Detail

      • getConfigNodeId

        public int getConfigNodeId()
      • setConfigNodeId

        public TConfigNodeInfo setConfigNodeId​(int configNodeId)
      • unsetConfigNodeId

        public void unsetConfigNodeId()
      • isSetConfigNodeId

        public boolean isSetConfigNodeId()
        Returns true if field configNodeId is set (has been assigned a value) and false otherwise
      • setConfigNodeIdIsSet

        public void setConfigNodeIdIsSet​(boolean value)
      • getStatus

        public String getStatus()
      • unsetStatus

        public void unsetStatus()
      • isSetStatus

        public boolean isSetStatus()
        Returns true if field status is set (has been assigned a value) and false otherwise
      • setStatusIsSet

        public void setStatusIsSet​(boolean value)
      • getInternalAddress

        public String getInternalAddress()
      • unsetInternalAddress

        public void unsetInternalAddress()
      • isSetInternalAddress

        public boolean isSetInternalAddress()
        Returns true if field internalAddress is set (has been assigned a value) and false otherwise
      • setInternalAddressIsSet

        public void setInternalAddressIsSet​(boolean value)
      • getInternalPort

        public int getInternalPort()
      • setInternalPort

        public TConfigNodeInfo setInternalPort​(int internalPort)
      • unsetInternalPort

        public void unsetInternalPort()
      • isSetInternalPort

        public boolean isSetInternalPort()
        Returns true if field internalPort is set (has been assigned a value) and false otherwise
      • setInternalPortIsSet

        public void setInternalPortIsSet​(boolean value)
      • getRoleType

        public String getRoleType()
      • unsetRoleType

        public void unsetRoleType()
      • isSetRoleType

        public boolean isSetRoleType()
        Returns true if field roleType is set (has been assigned a value) and false otherwise
      • setRoleTypeIsSet

        public void setRoleTypeIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException