public class AsyncProfilerController extends java.lang.Object implements InstrumentingProfiler.SnapshotCapturingProfilerController
| Constructor and Description |
|---|
AsyncProfilerController(AsyncProfilerConfig profilerConfig,
ScenarioSettings scenarioSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
captureSnapshot(java.lang.String pid)
Capture snapshot, if not already performed on stop.
|
java.lang.String |
getName() |
void |
startRecording(java.lang.String pid) |
void |
stopRecording(java.lang.String pid) |
void |
stopSession() |
public AsyncProfilerController(AsyncProfilerConfig profilerConfig, ScenarioSettings scenarioSettings)
public java.lang.String getName()
public void startRecording(java.lang.String pid)
throws java.io.IOException,
java.lang.InterruptedException
startRecording in interface InstrumentingProfiler.SnapshotCapturingProfilerControllerjava.io.IOExceptionjava.lang.InterruptedExceptionpublic void stopRecording(java.lang.String pid)
stopRecording in interface InstrumentingProfiler.SnapshotCapturingProfilerControllerpublic void captureSnapshot(java.lang.String pid)
InstrumentingProfiler.SnapshotCapturingProfilerControllercaptureSnapshot in interface InstrumentingProfiler.SnapshotCapturingProfilerControllerpublic void stopSession()
stopSession in interface InstrumentingProfiler.SnapshotCapturingProfilerController