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 setMaxTotal(int max)
int getMaxTotal()
void setDefaultMaxPerRoute(int max)
int getDefaultMaxPerRoute()
void setMaxPerRoute(T route, int max)
int getMaxPerRoute(T route)
void closeIdle(TimeValue idleTime)
void closeExpired()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.