T
- the route type that represents the opposite endpoint of a pooled
connection.public interface ConnPoolControl<T> extends ConnPoolStats<T>
ConnPool
such as
maximum total number of connections or maximum connections per route
allowed.Modifier and Type | Method and Description |
---|---|
void |
closeExpired() |
void |
closeIdle(TimeValue idleTime) |
int |
getDefaultMaxPerRoute() |
int |
getMaxPerRoute(T route) |
int |
getMaxTotal() |
Set<T> |
getRoutes() |
void |
setDefaultMaxPerRoute(int max) |
void |
setMaxPerRoute(T route,
int max) |
void |
setMaxTotal(int max) |
getStats, getTotalStats
void closeExpired()
void closeIdle(TimeValue idleTime)
int getDefaultMaxPerRoute()
int getMaxPerRoute(T route)
int getMaxTotal()
void setDefaultMaxPerRoute(int max)
void setMaxPerRoute(T route, int max)
void setMaxTotal(int max)