T
- the route type that represents the opposite endpoint of a pooled
connection.public interface ConnPoolControl<T>
ConnPool
such as
maximum total number of connections or maximum connections per route
allowed.Modifier and Type | Method and Description |
---|---|
int |
getDefaultMaxPerRoute() |
int |
getMaxPerRoute(T route) |
int |
getMaxTotal() |
PoolStats |
getStats(T route) |
PoolStats |
getTotalStats() |
void |
setDefaultMaxPerRoute(int max) |
void |
setMaxPerRoute(T route,
int max) |
void |
setMaxTotal(int max) |
void setMaxTotal(int max)
int getMaxTotal()
void setDefaultMaxPerRoute(int max)
int getDefaultMaxPerRoute()
void setMaxPerRoute(T route, int max)
int getMaxPerRoute(T route)
PoolStats getTotalStats()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.