public static class ConnectionConfig.CloseIdleConnectionConfig extends Object
| Constructor and Description |
|---|
ConnectionConfig.CloseIdleConnectionConfig(long idleTime,
TimeUnit timeUnit)
Close connections that have idled for the amount of time specified in this config.
|
public ConnectionConfig.CloseIdleConnectionConfig(long idleTime,
TimeUnit timeUnit)
idleTime - The idle time of connections to be closedtimeUnit - The time unit to for idleTimepublic long getIdleTime()
public TimeUnit getTimeUnit()
Copyright © 2010–2014. All rights reserved.