Class CounterSnapshot

    • Constructor Detail

      • CounterSnapshot

        public CounterSnapshot​(CounterSupplier source)
        Create a snapshot of the given counter.
        Parameters:
        source - the counter
      • CounterSnapshot

        public CounterSnapshot​(StatisticState state,
                               long count)
        Create a snapshot with the specified values
        Parameters:
        state - the state of the counter
        count - the count of the counter