public abstract class ProfilingEvent extends AbstractEvent implements ManagementEvent
This class is not thread-safe.
| Constructor and Description |
|---|
ProfilingEvent()
Default constructor for serialization/deserialization.
|
ProfilingEvent(JobID jobID,
long timestamp,
long profilingTimestamp)
Constructs a new profiling event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
JobID |
getJobID()
Returns the ID of the job this profiling information belongs to.
|
long |
getProfilingTimestamp()
Returns the timestamp of this profiling information.
|
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getSequenceNumber, getTimestamp, timestampToStringpublic ProfilingEvent(JobID jobID, long timestamp, long profilingTimestamp)
jobID - the ID of the job this profiling events belongs totimestamp - the time stamp of the eventprofilingTimestamp - the time stamp of the profiling datapublic ProfilingEvent()
public JobID getJobID()
public long getProfilingTimestamp()
public void read(DataInputView in) throws IOException
read in interface IOReadableWritableread in class AbstractEventIOExceptionpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritablewrite in class AbstractEventIOExceptionpublic boolean equals(Object obj)
equals in class AbstractEventpublic int hashCode()
hashCode in class AbstractEventCopyright © 2014 The Apache Software Foundation. All rights reserved.