public class ThreadProfilingEvent extends VertexProfilingEvent
| Constructor and Description |
|---|
ThreadProfilingEvent() |
ThreadProfilingEvent(int userTime,
int systemTime,
int blockedTime,
int waitedTime,
ManagementVertexID vertexID,
int profilingInterval,
JobID jobID,
long timestamp,
long profilingTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getBlockedTime()
Returns the percentage of time the execution thread has been
blocked to enter or reenter a monitor in the given profiling interval.
|
int |
getSystemTime()
Returns the percentage of time the execution thread spent in
system mode in the given profiling interval.
|
int |
getUserTime()
Returns the percentage of time the execution thread spent in
user mode in the given profiling interval.
|
int |
getWaitedTime()
Returns the percentage of time the execution thread spent in
either
WAITING or TIMED_WAITING state in the given profiling interval. |
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getProfilingInterval, getVertexIDgetJobID, getProfilingTimestampgetSequenceNumber, getTimestamp, timestampToStringpublic ThreadProfilingEvent(int userTime,
int systemTime,
int blockedTime,
int waitedTime,
ManagementVertexID vertexID,
int profilingInterval,
JobID jobID,
long timestamp,
long profilingTimestamp)
public ThreadProfilingEvent()
public int getUserTime()
public int getSystemTime()
public int getBlockedTime()
public int getWaitedTime()
WAITING or TIMED_WAITING state in the given profiling interval.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.