Class WorkerMetrics

    • Field Detail

      • metaDataMap

        public static final Map<WorkerMetrics._Fields,​org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • WorkerMetrics

        public WorkerMetrics()
      • WorkerMetrics

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

      • get_topologyId

        public String get_topologyId()
      • set_topologyId

        public void set_topologyId​(String topologyId)
      • unset_topologyId

        public void unset_topologyId()
      • is_set_topologyId

        public boolean is_set_topologyId()
        Returns true if field topologyId is set (has been assigned a value) and false otherwise
      • set_topologyId_isSet

        public void set_topologyId_isSet​(boolean value)
      • get_port

        public int get_port()
      • set_port

        public void set_port​(int port)
      • unset_port

        public void unset_port()
      • is_set_port

        public boolean is_set_port()
        Returns true if field port is set (has been assigned a value) and false otherwise
      • set_port_isSet

        public void set_port_isSet​(boolean value)
      • get_hostname

        public String get_hostname()
      • set_hostname

        public void set_hostname​(String hostname)
      • unset_hostname

        public void unset_hostname()
      • is_set_hostname

        public boolean is_set_hostname()
        Returns true if field hostname is set (has been assigned a value) and false otherwise
      • set_hostname_isSet

        public void set_hostname_isSet​(boolean value)
      • unset_metricList

        public void unset_metricList()
      • is_set_metricList

        public boolean is_set_metricList()
        Returns true if field metricList is set (has been assigned a value) and false otherwise
      • set_metricList_isSet

        public void set_metricList_isSet​(boolean value)
      • hashCode

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

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

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

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