T - the route type that represents the opposite endpoint of a pooled
connection.AbstractConnPool, BasicConnPoolpublic interface ConnPoolControl<T>
ConnPool such as
maximum total number of connections or maximum connections per route
allowed.| Modifier and Type | Method | 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()