Class TConfigNodeLocation

    • Field Detail

      • configNodeId

        public int configNodeId
      • internalEndPoint

        public TEndPoint internalEndPoint
      • consensusEndPoint

        public TEndPoint consensusEndPoint
    • Constructor Detail

      • TConfigNodeLocation

        public TConfigNodeLocation()
      • TConfigNodeLocation

        public TConfigNodeLocation​(int configNodeId,
                                   TEndPoint internalEndPoint,
                                   TEndPoint consensusEndPoint)
      • TConfigNodeLocation

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

      • getConfigNodeId

        public int getConfigNodeId()
      • 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)
      • getInternalEndPoint

        public TEndPoint getInternalEndPoint()
      • unsetInternalEndPoint

        public void unsetInternalEndPoint()
      • isSetInternalEndPoint

        public boolean isSetInternalEndPoint()
        Returns true if field internalEndPoint is set (has been assigned a value) and false otherwise
      • setInternalEndPointIsSet

        public void setInternalEndPointIsSet​(boolean value)
      • getConsensusEndPoint

        public TEndPoint getConsensusEndPoint()
      • unsetConsensusEndPoint

        public void unsetConsensusEndPoint()
      • isSetConsensusEndPoint

        public boolean isSetConsensusEndPoint()
        Returns true if field consensusEndPoint is set (has been assigned a value) and false otherwise
      • setConsensusEndPointIsSet

        public void setConsensusEndPointIsSet​(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