Class RecordingFile

java.lang.Object
jdk.jfr.consumer.RecordingFile
All Implemented Interfaces:
java.lang.AutoCloseable

public final class RecordingFile extends java.lang.Object implements java.lang.AutoCloseable
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecordingFile(java.nio.file.Path ignore)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
     

    Methods inherited from class java.lang.Object

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

    • RecordingFile

      public RecordingFile(java.nio.file.Path ignore) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • hasMoreEvents

      public boolean hasMoreEvents()
    • readEvent

      public RecordedEvent readEvent() throws java.io.IOException
      Throws:
      java.io.IOException
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Throws:
      java.io.IOException