Class SpoutStats

    • Field Detail

      • metaDataMap

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

      • get_acked_size

        public int get_acked_size()
      • unset_acked

        public void unset_acked()
      • is_set_acked

        public boolean is_set_acked()
        Returns true if field acked is set (has been assigned a value) and false otherwise
      • set_acked_isSet

        public void set_acked_isSet​(boolean value)
      • get_failed_size

        public int get_failed_size()
      • unset_failed

        public void unset_failed()
      • is_set_failed

        public boolean is_set_failed()
        Returns true if field failed is set (has been assigned a value) and false otherwise
      • set_failed_isSet

        public void set_failed_isSet​(boolean value)
      • get_complete_ms_avg_size

        public int get_complete_ms_avg_size()
      • put_to_complete_ms_avg

        public void put_to_complete_ms_avg​(String key,
                                           Map<String,​Double> val)
      • unset_complete_ms_avg

        public void unset_complete_ms_avg()
      • is_set_complete_ms_avg

        public boolean is_set_complete_ms_avg()
        Returns true if field complete_ms_avg is set (has been assigned a value) and false otherwise
      • set_complete_ms_avg_isSet

        public void set_complete_ms_avg_isSet​(boolean value)
      • isSet

        public boolean isSet​(SpoutStats._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.storm.thrift.TBase<SpoutStats,​SpoutStats._Fields>
      • equals

        public boolean equals​(SpoutStats that)
      • 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