Interface ConnectionPool.MaxUsable

All Known Implementing Classes:
HttpConnectionOverHTTP2
Enclosing interface:
ConnectionPool

public static interface ConnectionPool.MaxUsable
Marks a connection as being usable for a maximum number of requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
  • Method Details

    • getMaxUsage

      int getMaxUsage()
      Returns:
      the max number of requests on a single connection