Class HypersistenceOptimizerRuntimeEvent
java.lang.Object
io.hypersistence.optimizer.core.event.persistence.HypersistenceOptimizerRuntimeEvent
The
HypersistenceOptimizerRuntimeEvent is the canonical entity model for the
ho_runtime_events table, which holds the aggregated runtime events
(one row per run, event signature and time window, carrying an occurrence count and,
where available, the total and maximum durations). The run_id foreign key references the
ho_bootstrap_run row of the application instance that recorded the events, and it is
NULL if that run could not be persisted.
This entity is used only to let Hibernate generate the portable, dialect-specific
table structure in the metadata fallback; the rows are written with plain JDBC (see EventStore).
A generated IDENTITY key is used because a window may flush many signatures at once, so a
natural key based on the run and window timestamp would not be unique.
- Since:
- 2.14.0
- Author:
- Vlad Mihalcea
-
Constructor Details
-
HypersistenceOptimizerRuntimeEvent
public HypersistenceOptimizerRuntimeEvent()
-
-
Method Details
-
getId
-
getRun
-
getWindowStart
-
getWindowEnd
-
getOccurrenceCount
-
getTotalDurationMs
-
getMaxDurationMs
-
getEventName
-
getSignature
-
getPriority
-
getSampleDescription
-