@Contract(threading=SAFE_CONDITIONAL) public final class IdleConnectionEvictor extends Object
| Constructor and Description | 
|---|
| IdleConnectionEvictor(ConnPoolControl<?> connectionManager,
                     ThreadFactory threadFactory,
                     TimeValue sleepTime,
                     TimeValue maxIdleTime) | 
| IdleConnectionEvictor(ConnPoolControl<?> connectionManager,
                     TimeValue maxIdleTime) | 
| IdleConnectionEvictor(ConnPoolControl<?> connectionManager,
                     TimeValue sleepTime,
                     TimeValue maxIdleTime) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | awaitTermination(Timeout timeout) | 
| boolean | isRunning() | 
| void | shutdown() | 
| void | start() | 
public IdleConnectionEvictor(ConnPoolControl<?> connectionManager, ThreadFactory threadFactory, TimeValue sleepTime, TimeValue maxIdleTime)
public IdleConnectionEvictor(ConnPoolControl<?> connectionManager, TimeValue sleepTime, TimeValue maxIdleTime)
public IdleConnectionEvictor(ConnPoolControl<?> connectionManager, TimeValue maxIdleTime)
public void start()
public void shutdown()
public boolean isRunning()
public void awaitTermination(Timeout timeout) throws InterruptedException
InterruptedExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.