public final class InputGateProfilingEvent extends VertexProfilingEvent
This class is not thread-safe.
| Constructor and Description |
|---|
InputGateProfilingEvent()
Default constructor for the serialization/deserialization process.
|
InputGateProfilingEvent(int gateIndex,
int noRecordsAvailableCounter,
ManagementVertexID vertexID,
int profilingInterval,
JobID jobID,
long timestamp,
long profilingTimestamp)
Constructs a new input gate profiling event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getGateIndex()
Returns the index of input gate.
|
int |
getNoRecordsAvailableCounter()
Returns the number of times no records were available
on any of the channels attached to the input gate in
the given profiling internval.
|
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getProfilingInterval, getVertexIDgetJobID, getProfilingTimestampgetSequenceNumber, getTimestamp, timestampToStringpublic InputGateProfilingEvent(int gateIndex,
int noRecordsAvailableCounter,
ManagementVertexID vertexID,
int profilingInterval,
JobID jobID,
long timestamp,
long profilingTimestamp)
gateIndex - the index of the input gate at the corresponding management vertexnoRecordsAvailableCounter - indicates how often the input gate had no records available 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 InputGateProfilingEvent()
public int getGateIndex()
public int getNoRecordsAvailableCounter()
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.