Class ConcurrentCountMap<T>
java.lang.Object
org.apache.hc.client5.http.schedule.ConcurrentCountMap<T>
- Type Parameters:
T
- identifier used as a map key
Concurrent map of integer counts.
- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate AtomicInteger
int
int
increaseCount
(T identifier) void
resetCount
(T identifier)
-
Field Details
-
map
-
-
Constructor Details
-
ConcurrentCountMap
public ConcurrentCountMap()
-
-
Method Details
-
getCount
-
resetCount
-
increaseCount
-
get
-