org.apache.hc.client5.http.schedule

## Class ConcurrentCountMap<T>

- java.lang.Object
- - org.apache.hc.client5.http.schedule.ConcurrentCountMap<T>

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

      @Contract(threading=SAFE)
      public final class ConcurrentCountMap<T>
      extends Object

  Concurrent map of integer counts.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConcurrentCountMap()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCount(T identifier)`
    `int` | `increaseCount(T identifier)`
    `void` | `resetCount(T identifier)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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)

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.