Class FileJfrRecorder

  • All Implemented Interfaces:
    JfrRecorder

    public class FileJfrRecorder
    extends java.lang.Object
    implements JfrRecorder
    • Constructor Summary

      Constructors 
      Constructor Description
      FileJfrRecorder​(jdk.jfr.Recording recording)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.file.Path recordToFile()
      Record JFR data and return the path its recorded to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileJfrRecorder

        public FileJfrRecorder​(jdk.jfr.Recording recording)
    • Method Detail

      • recordToFile

        public java.nio.file.Path recordToFile()
                                        throws JfrRecorderException
        Description copied from interface: JfrRecorder
        Record JFR data and return the path its recorded to.
        Specified by:
        recordToFile in interface JfrRecorder
        Returns:
        the path JFR data has been recorded
        Throws:
        JfrRecorderException - if a fatal error occur that prevents this recorder from functioning