public class JobManagerProfilerImpl extends Object implements JobManagerProfiler, ProfilerImplProtocol
| Constructor and Description |
|---|
JobManagerProfilerImpl(InetAddress jobManagerbindAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerForProfilingData(JobID jobID,
ProfilingListener profilingListener)
Registers the given
ProfilingListener object to receive
profiling data for the job with the given job ID. |
void |
registerProfilingJob(ExecutionGraph executionGraph)
Registers the given
ExecutionGraph for profiling. |
void |
reportProfilingData(ProfilingDataContainer profilingDataContainer) |
void |
shutdown()
Shuts done the job manager's profiling component
and stops all its internal processes.
|
void |
unregisterFromProfilingData(JobID jobID,
ProfilingListener profilingListener)
Unregisters the given
ProfilingListener object from receiving
profiling data issued by the job manager's profiling component. |
void |
unregisterProfilingJob(ExecutionGraph executionGraph)
Unregisters the given
ExecutionGraph from profiling. |
public JobManagerProfilerImpl(InetAddress jobManagerbindAddress) throws ProfilingException
ProfilingExceptionpublic void registerProfilingJob(ExecutionGraph executionGraph)
JobManagerProfilerExecutionGraph for profiling.registerProfilingJob in interface JobManagerProfilerexecutionGraph - the ExecutionGraph to register for profilingpublic void unregisterProfilingJob(ExecutionGraph executionGraph)
JobManagerProfilerExecutionGraph from profiling. Calling this
method will also unregister all of the job's registered listeners.unregisterProfilingJob in interface JobManagerProfilerexecutionGraph - the ExecutionGraph to unregister.public void shutdown()
JobManagerProfilershutdown in interface JobManagerProfilerpublic void reportProfilingData(ProfilingDataContainer profilingDataContainer)
reportProfilingData in interface ProfilerImplProtocolpublic void registerForProfilingData(JobID jobID, ProfilingListener profilingListener)
JobManagerProfilerProfilingListener object to receive
profiling data for the job with the given job ID.registerForProfilingData in interface JobManagerProfilerjobID - the ID of the job to receive profiling data forprofilingListener - the ProfilingListener object to registerpublic void unregisterFromProfilingData(JobID jobID, ProfilingListener profilingListener)
JobManagerProfilerProfilingListener object from receiving
profiling data issued by the job manager's profiling component.unregisterFromProfilingData in interface JobManagerProfilerjobID - the ID of the job the ProfilingListener object has originally been registered forprofilingListener - the ProfilingListener object to unregisterCopyright © 2014 The Apache Software Foundation. All rights reserved.