public class SessionMonitoringTimingStore extends AbstractTimingStore
SessionTimingEntry
.durationStore, maxEntries
Constructor and Description |
---|
SessionMonitoringTimingStore(int maxEntries)
Constructs a SessionMonitoringTimingStore with the provided maximum number of entries in its sample window.
|
SessionMonitoringTimingStore(SessionMonitoringService monitoringService) |
Modifier and Type | Method and Description |
---|---|
void |
addTimingEntry(long duration)
Adds an entry to the timing store, having wrapped the supplied long duration in a
SessionTimingEntry . |
getDurationAverage, getMaxEntries, getSlowestEvaluation, getSlowestEvaluationDuration
@Inject public SessionMonitoringTimingStore(SessionMonitoringService monitoringService)
public SessionMonitoringTimingStore(int maxEntries)
maxEntries
- the maximum number of samples to consider when performing oeprations on the storepublic void addTimingEntry(long duration)
SessionTimingEntry
.duration
- the length of time the operation tookCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.