Interface ProxyConnectionPoolConfig

All Known Subinterfaces:
ConnectionPoolManager
All Known Implementing Classes:
LoadBalancingProxyClient.Host

public interface ProxyConnectionPoolConfig
Author:
Emanuel Muckenhuber
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the maximum number of cached (idle) connections per thread.
    int
    Get the maximum number of connections per thread.
    int
    Get the maximum number of requests which can be queued if there are no connections available.
    int
    Get number of cached connections above which are closed after the time to live.
    long
    Get the time to live for idle connections.
  • Method Details

    • getMaxConnections

      int getMaxConnections()
      Get the maximum number of connections per thread.
      Returns:
    • getMaxCachedConnections

      int getMaxCachedConnections()
      Get the maximum number of cached (idle) connections per thread.
      Returns:
    • getSMaxConnections

      int getSMaxConnections()
      Get number of cached connections above which are closed after the time to live.
      Returns:
    • getTtl

      long getTtl()
      Get the time to live for idle connections.
      Returns:
    • getMaxQueueSize

      int getMaxQueueSize()
      Get the maximum number of requests which can be queued if there are no connections available.
      Returns: