Class SessionMonitoringTimingStore


  • public class SessionMonitoringTimingStore
    extends AbstractTimingStore
    An implementation of a timing store specific to the needs of the session monitoring component. Added values are wrapped in a SessionTimingEntry.
    • Constructor Detail

      • SessionMonitoringTimingStore

        @Inject
        public SessionMonitoringTimingStore​(SessionMonitoringService monitoringService)
      • SessionMonitoringTimingStore

        public SessionMonitoringTimingStore​(int maxEntries)
        Constructs a SessionMonitoringTimingStore with the provided maximum number of entries in its sample window.
        Parameters:
        maxEntries - the maximum number of samples to consider when performing oeprations on the store
    • Method Detail

      • addTimingEntry

        public void addTimingEntry​(long duration)
        Adds an entry to the timing store, having wrapped the supplied long duration in a SessionTimingEntry.
        Parameters:
        duration - the length of time the operation took