Class ConcurrentCountMap<T>

  • Type Parameters:
    T - identifier used as a map key

    @Contract(threading=SAFE)
    public final class ConcurrentCountMap<T>
    extends java.lang.Object
    Concurrent map of integer counts.
    Since:
    5.0
    • Constructor Detail

      • ConcurrentCountMap

        public ConcurrentCountMap()
    • Method Detail

      • getCount

        public int getCount​(T identifier)
      • resetCount

        public void resetCount​(T identifier)
      • increaseCount

        public int increaseCount​(T identifier)