Package org.asynchttpclient
Class ClientStats
- java.lang.Object
- 
- org.asynchttpclient.ClientStats
 
- 
 public class ClientStats extends Object A record class representing the state of a (@link org.asynchttpclient.AsyncHttpClient).
- 
- 
Constructor SummaryConstructors Constructor Description ClientStats(Map<String,HostStats> statsPerHost)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,HostStats>getStatsPerHost()longgetTotalActiveConnectionCount()longgetTotalConnectionCount()longgetTotalIdleConnectionCount()inthashCode()StringtoString()
 
- 
- 
- 
Method Detail- 
getStatsPerHostpublic Map<String,HostStats> getStatsPerHost() - Returns:
- A map from hostname to statistics on that host's connections. The returned map is unmodifiable.
 
 - 
getTotalConnectionCountpublic long getTotalConnectionCount() - Returns:
- The sum of getTotalActiveConnectionCount()andgetTotalIdleConnectionCount(), a long representing the total number of connections in the connection pool.
 
 - 
getTotalActiveConnectionCountpublic long getTotalActiveConnectionCount() - Returns:
- A long representing the number of active connections in the connection pool.
 
 - 
getTotalIdleConnectionCountpublic long getTotalIdleConnectionCount() - Returns:
- A long representing the number of idle connections in the connection pool.
 
 
- 
 
-