Class ClientStats


  • public class ClientStats
    extends Object
    A record class representing the state of an (@link org.asynchttpclient.AsyncHttpClient).
    • Method Detail

      • getStatsPerHost

        public Map<String,​HostStats> getStatsPerHost()
        Returns:
        A map from hostname to statistics on that host's connections. The returned map is unmodifiable.
      • getTotalActiveConnectionCount

        public long getTotalActiveConnectionCount()
        Returns:
        A long representing the number of active connections in the connection pool.
      • getTotalIdleConnectionCount

        public long getTotalIdleConnectionCount()
        Returns:
        A long representing the number of idle connections in the connection pool.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object