public interface DurationAwareEvent extends Event
DurationAwareEvent is an optional interface that can be implemented by
Event types that carry a duration (e.g. a slow-running query or a
long-running Session or transaction).
When the event persistence feature is enabled, the reported duration is
accumulated into the total_duration_ms column of the runtime rollup, so
that a slow operation triggered many times can be summarized rather than stored
one row per occurrence.
Event.PriorityHIDDEN_DESCRIPTION| Modifier and Type | Method and Description |
|---|---|
long |
getDurationMillis()
Get the duration, in milliseconds, associated with this
Event. |
getPriorityCopyright © 2026. All rights reserved.