Uses of Interface jdk.jfr.consumer.EventStream (Java SE 26 & JDK 26)
Description: use: module: jdk.jfr, package: jdk.jfr.consumer, interface: EventStream

# Uses of Interface
jdk.jfr.consumer.EventStream

Packages that use EventStream
Package
Description
jdk.jfr.consumer
This package contains classes for consuming Flight Recorder data.
jdk.management.jfr
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).

- ## Uses of EventStream in jdk.jfr.consumer

  Classes in jdk.jfr.consumer that implement EventStream
  Modifier and Type
  Class
  Description
  `final class`
  `RecordingStream`
  A recording stream produces events from the current JVM (Java Virtual Machine).
  Methods in jdk.jfr.consumer that return EventStream
  Modifier and Type
  Method
  Description
  `static EventStream`
  EventStream.`openFile(Path file)`
  Creates an event stream from a file.
  `static EventStream`
  EventStream.`openRepository()`
  Creates a stream from the repository of the current Java Virtual Machine (JVM).
  `static EventStream`
  EventStream.`openRepository(Path directory)`
  Creates an event stream from a disk repository.

- ## Uses of EventStream in jdk.management.jfr

  Classes in jdk.management.jfr that implement EventStream
  Modifier and Type
  Class
  Description
  `final class`
  `RemoteRecordingStream`
  An implementation of an `EventStream` that can serialize events over the network using an `MBeanServerConnection`.