Class FDBStoreTimer

    • Constructor Detail

      • FDBStoreTimer

        public FDBStoreTimer()
    • Method Detail

      • getAggregates

        @Nonnull
        public Set<StoreTimer.Aggregate> getAggregates()
        Description copied from class: StoreTimer
        Return the set of aggregates that this store timer can produce. This method is expected to be overridden by implementation in order to expose whichever aggregates they produce. Note that the aggregates that are returned are the complete set that are defined for the store timer, however it is possible that a returned aggregate may not have any of the underlying counters necessary to compute its value (see StoreTimer.Aggregate.compute(StoreTimer)).
        Overrides:
        getAggregates in class StoreTimer
        Returns:
        the set of aggregates that can be computed by this timer
      • recordTimeout

        public void recordTimeout​(StoreTimer.Wait event,
                                  long startTime)
        Description copied from class: StoreTimer
        Record that some operation timed out.
        Overrides:
        recordTimeout in class StoreTimer
        Parameters:
        event - the event that was waited for
        startTime - the System.nanoTime() when the event started