public final class OutputGateProfilingEvent extends VertexProfilingEvent
This class is not thread-safe.
| Constructor and Description |
|---|
OutputGateProfilingEvent()
Default constructor for the serialization/deserialization process.
|
OutputGateProfilingEvent(int gateIndex,
int channelCapacityExhausted,
ManagementVertexID vertexID,
int profilingInterval,
JobID jobID,
long timestamp,
long profilingTimestamp)
Constructs a new output gate profiling event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getChannelCapacityExhausted()
Returns the number of times the capacity of an attached output channel was exhausted during the given profiling
interval.
|
int |
getGateIndex()
Returns the index of input gate.
|
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getProfilingInterval, getVertexIDgetJobID, getProfilingTimestampgetSequenceNumber, getTimestamp, timestampToStringpublic OutputGateProfilingEvent(int gateIndex,
int channelCapacityExhausted,
ManagementVertexID vertexID,
int profilingInterval,
JobID jobID,
long timestamp,
long profilingTimestamp)
gateIndex - the index of the output gate at the corresponding management vertexchannelCapacityExhausted - indicates how often the output gate had exhausted one of its channels capacity during the last time periodvertexID - the ID of the management vertex this event refers toprofilingInterval - the interval of time this profiling event coversjobID - the ID of the job this event refers totimestamp - the time stamp of the eventprofilingTimestamp - the time stamp of the profiling datapublic OutputGateProfilingEvent()
public int getGateIndex()
public int getChannelCapacityExhausted()
public void read(DataInputView in) throws IOException
read in interface IOReadableWritableread in class VertexProfilingEventIOExceptionpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritablewrite in class VertexProfilingEventIOExceptionpublic boolean equals(Object obj)
equals in class VertexProfilingEventpublic int hashCode()
hashCode in class ProfilingEventCopyright © 2014 The Apache Software Foundation. All rights reserved.