Package org.asynchttpclient.util
Interface Counted
-
- All Known Subinterfaces:
CookieStore
- All Known Implementing Classes:
ThreadSafeCookieStore
public interface Counted
An interface that defines useful methods to check how many AsyncHttpClient instances this particular implementation is shared with.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
count()
Return the current counterint
decrementAndGet()
Decrement counter and return the decremented valueint
incrementAndGet()
Increment counter and return the incremented value
-