Class ExecutorInfo

java.lang.Object
org.apache.storm.generated.ExecutorInfo
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ExecutorInfo>, org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>, org.apache.storm.thrift.TSerializable

@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class ExecutorInfo extends Object implements org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>, Serializable, Cloneable, Comparable<ExecutorInfo>
See Also:
  • Field Details

    • metaDataMap

      public static final Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • ExecutorInfo

      public ExecutorInfo()
    • ExecutorInfo

      public ExecutorInfo(int task_start, int task_end)
    • ExecutorInfo

      public ExecutorInfo(ExecutorInfo other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public ExecutorInfo deepCopy()
      Specified by:
      deepCopy in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
    • get_task_start

      public int get_task_start()
    • set_task_start

      public void set_task_start(int task_start)
    • unset_task_start

      public void unset_task_start()
    • is_set_task_start

      public boolean is_set_task_start()
      Returns true if field task_start is set (has been assigned a value) and false otherwise
    • set_task_start_isSet

      public void set_task_start_isSet(boolean value)
    • get_task_end

      public int get_task_end()
    • set_task_end

      public void set_task_end(int task_end)
    • unset_task_end

      public void unset_task_end()
    • is_set_task_end

      public boolean is_set_task_end()
      Returns true if field task_end is set (has been assigned a value) and false otherwise
    • set_task_end_isSet

      public void set_task_end_isSet(boolean value)
    • setFieldValue

      public void setFieldValue(ExecutorInfo._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
    • getFieldValue

      public Object getFieldValue(ExecutorInfo._Fields field)
      Specified by:
      getFieldValue in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
    • isSet

      public boolean isSet(ExecutorInfo._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<ExecutorInfo,ExecutorInfo._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(ExecutorInfo that)
    • hashCode

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

      public int compareTo(ExecutorInfo other)
      Specified by:
      compareTo in interface Comparable<ExecutorInfo>
    • fieldForId

      public ExecutorInfo._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

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