-
public final class ProfilerEvent.RumVitalEvent extends ProfilerEvent
Sent by the RUM feature to the profiling feature whenever a vital is recorded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumProfilerEvent.RumVitalEvent.TypeType of the vital event.
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringnameprivate final ProfilerEvent.RumVitalEvent.Typetypeprivate final LongstartMsprivate final LongdurationNsprivate final ProfilingRumContextrumContext
-
Constructor Summary
Constructors Constructor Description ProfilerEvent.RumVitalEvent(String id, String name, ProfilerEvent.RumVitalEvent.Type type, Long startMs, Long durationNs, ProfilingRumContext rumContext)
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetName()final ProfilerEvent.RumVitalEvent.TypegetType()final LonggetStartMs()final LonggetDurationNs()final ProfilingRumContextgetRumContext()-
-
Constructor Detail
-
ProfilerEvent.RumVitalEvent
ProfilerEvent.RumVitalEvent(String id, String name, ProfilerEvent.RumVitalEvent.Type type, Long startMs, Long durationNs, ProfilingRumContext rumContext)
- Parameters:
id- The ID of the corresponding RUM vital event.name- The name of the corresponding vital event.type- Type of the vital event.startMs- Start timestamp in milliseconds since epoch (server time-adjusted).durationNs- Duration of the vital in nanoseconds.rumContext- RUM context at the time of the vital.
-
-
Method Detail
-
getType
final ProfilerEvent.RumVitalEvent.Type getType()
-
getStartMs
final Long getStartMs()
-
getDurationNs
final Long getDurationNs()
-
getRumContext
final ProfilingRumContext getRumContext()
-
-
-
-