Package com.newrelic.jfr.daemon.app
Class JmxJfrRecorder
- java.lang.Object
-
- com.newrelic.jfr.daemon.app.JmxJfrRecorder
-
- All Implemented Interfaces:
JfrRecorder
public class JmxJfrRecorder extends java.lang.Object implements JfrRecorder
An implementation ofJfrRecorderrecords JFR data from a remote MBean Server over JMX.
-
-
Constructor Summary
Constructors Constructor Description JmxJfrRecorder(javax.management.MBeanServerConnection connection, boolean streamFromJmx, long recordingId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathrecordToFile()Record JFR data and return the path its recorded to.
-
-
-
Method Detail
-
recordToFile
public java.nio.file.Path recordToFile() throws JfrRecorderExceptionDescription copied from interface:JfrRecorderRecord JFR data and return the path its recorded to.- Specified by:
recordToFilein interfaceJfrRecorder- Returns:
- the path JFR data has been recorded
- Throws:
JfrRecorderException- if a fatal error occur that prevents this recorder from functioning
-
-