backtype.storm.generated
Class ExecutorSpecificStats
java.lang.Object
org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
backtype.storm.generated.ExecutorSpecificStats
- All Implemented Interfaces:
- Serializable, Comparable<ExecutorSpecificStats>, org.apache.thrift.TBase<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
public class ExecutorSpecificStats
- extends org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
ExecutorSpecificStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Fields inherited from class org.apache.thrift.TUnion |
setField_, value_ |
| Methods inherited from class org.apache.thrift.TUnion |
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write |
metaDataMap
public static final Map<ExecutorSpecificStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
ExecutorSpecificStats
public ExecutorSpecificStats()
ExecutorSpecificStats
public ExecutorSpecificStats(ExecutorSpecificStats._Fields setField,
Object value)
ExecutorSpecificStats
public ExecutorSpecificStats(ExecutorSpecificStats other)
deepCopy
public ExecutorSpecificStats deepCopy()
bolt
public static ExecutorSpecificStats bolt(BoltStats value)
spout
public static ExecutorSpecificStats spout(SpoutStats value)
checkType
protected void checkType(ExecutorSpecificStats._Fields setField,
Object value)
throws ClassCastException
- Specified by:
checkType in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
- Throws:
ClassCastException
readValue
protected Object readValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
- Specified by:
readValue in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
- Throws:
org.apache.thrift.TException
writeValue
protected void writeValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
writeValue in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
- Throws:
org.apache.thrift.TException
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(ExecutorSpecificStats._Fields setField)
- Specified by:
getFieldDesc in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDesc in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
enumForId
protected ExecutorSpecificStats._Fields enumForId(short id)
- Specified by:
enumForId in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
fieldForId
public ExecutorSpecificStats._Fields fieldForId(int fieldId)
get_bolt
public BoltStats get_bolt()
set_bolt
public void set_bolt(BoltStats value)
get_spout
public SpoutStats get_spout()
set_spout
public void set_spout(SpoutStats value)
is_set_bolt
public boolean is_set_bolt()
is_set_spout
public boolean is_set_spout()
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
equals
public boolean equals(ExecutorSpecificStats other)
compareTo
public int compareTo(ExecutorSpecificStats other)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.