Package org.gradle.profiler.jfr
Class JFRControl
java.lang.Object
org.gradle.profiler.jfr.JFRControl
- All Implemented Interfaces:
InstrumentingProfiler.SnapshotCapturingProfilerController
public class JFRControl
extends Object
implements InstrumentingProfiler.SnapshotCapturingProfilerController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcaptureSnapshot(String pid) Capture snapshot, if not already performed on stop.getName()voidstartRecording(String pid) voidstopRecording(String pid) void
-
Constructor Details
-
JFRControl
-
-
Method Details
-
startRecording
- Specified by:
startRecordingin interfaceInstrumentingProfiler.SnapshotCapturingProfilerController- Throws:
IOExceptionInterruptedException
-
stopRecording
- Specified by:
stopRecordingin interfaceInstrumentingProfiler.SnapshotCapturingProfilerController
-
captureSnapshot
Description copied from interface:InstrumentingProfiler.SnapshotCapturingProfilerControllerCapture snapshot, if not already performed on stop.- Specified by:
captureSnapshotin interfaceInstrumentingProfiler.SnapshotCapturingProfilerController
-
stopSession
public void stopSession()- Specified by:
stopSessionin interfaceInstrumentingProfiler.SnapshotCapturingProfilerController
-
getName
-