public class EnvironmentThreadSet extends Object
| Constructor and Description |
|---|
EnvironmentThreadSet(ThreadMXBean tmx,
Thread mainThread,
ExecutionVertexID executionVertexID) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserThread(ThreadMXBean tmx,
Thread thread) |
InternalExecutionVertexThreadProfilingData |
captureCPUUtilization(JobID jobID,
ThreadMXBean tmx,
long timestamp) |
Thread |
getMainThread() |
int |
getNumberOfUserThreads() |
void |
removeUserThread(Thread thread) |
public EnvironmentThreadSet(ThreadMXBean tmx, Thread mainThread, ExecutionVertexID executionVertexID)
public Thread getMainThread()
public void addUserThread(ThreadMXBean tmx, Thread thread)
public void removeUserThread(Thread thread)
public int getNumberOfUserThreads()
public InternalExecutionVertexThreadProfilingData captureCPUUtilization(JobID jobID, ThreadMXBean tmx, long timestamp)
Copyright © 2014 The Apache Software Foundation. All rights reserved.