Class AccumulatorResult

  • public class AccumulatorResult
    extends Object
    Structure for holding the values stored in an accumulator.
    • Field Detail

      • value

        public long value
        The total value accumulated.
      • count

        public long count
        The number of sample value was accumulated over.
    • Constructor Detail

      • AccumulatorResult

        public AccumulatorResult()
    • Method Detail

      • set

        public void set​(long value,
                        long count)
        Set the value and count.