Interface CounterInterface

    • Method Detail

      • initialize

        void initialize()
        Initializes the counter.
      • ingest

        long ingest​(long value)
        Process one observed value.
        Parameters:
        value - long; the value to process
        Returns:
        long; the value
      • getDescription

        String getDescription()
        Returns the description of the counter.
        Returns:
        String; the description
      • getCount

        long getCount()
        Returns the current counter value.
        Returns:
        long; the counter value
      • getN

        long getN()
        Returns the current number of observations.
        Returns:
        long; the number of observations