Package com.newrelic.jfr.daemon
Interface JfrRecorder
-
- All Known Implementing Classes:
FileJfrRecorder,JmxJfrRecorder
public interface JfrRecorderAJfrRecorderis responsible for recording JFR data to a path when prompted viarecordToFile().- See Also:
FileJfrRecorder,JmxJfrRecorder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.PathrecordToFile()Record JFR data and return the path its recorded to.
-
-
-
Method Detail
-
recordToFile
java.nio.file.Path recordToFile() throws JfrRecorderExceptionRecord JFR data and return the path its recorded to.- Returns:
- the path JFR data has been recorded
- Throws:
JfrRecorderException- if a fatal error occur that prevents this recorder from functioning
-
-