Interface EventManager

All Known Implementing Classes:
EmptyEventManager

@JavaServiceLoadable @Incubating public interface EventManager
Defines a contract for reporting and monitoring low-level events involving interactions between the session and the database or second-level cache.

For example, this interface is implemented by Hibernate JFR to report events to Java Flight Recorder.

Note that event reporting is different to aggregate metrics, which Hibernate exposes via the Statistics interface.

Since:
6.4
API Note:
This an incubating API, subject to change.