Interface MMultiCounterAccumulator<K1,​K2>

    • Method Detail

      • increment

        void increment​(K1 firstKey,
                       K2 secondKey)
        Increments the count of the two keys.
        Parameters:
        firstKey - the first key
        secondKey - the second key
      • increment

        void increment​(K1 firstKey,
                       K2 secondKey,
                       double value)
        Increments the count of the two keys by the given value.
        Parameters:
        firstKey - the first key
        secondKey - the second key
        value - the amount to increment by
      • merge

        void merge​(MultiCounter<K1,​K2> other)
        Merges the given MultiCounter with this accumulator
        Parameters:
        other - the MultiCounter to merge