Package jdk.jfr.consumer
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasMoreEvents()RecordedEventreadEvent()
-
-
-
Method Detail
-
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:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
-