public final class IdleConnectionEvictor extends Object
Constructor and Description |
---|
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
long sleepTime,
TimeUnit sleepTimeUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
IdleConnectionEvictor(HttpClientConnectionManager connectionManager,
ThreadFactory threadFactory,
long sleepTime,
TimeUnit sleepTimeUnit,
long maxIdleTime,
TimeUnit maxIdleTimeUnit) |
public IdleConnectionEvictor(HttpClientConnectionManager connectionManager, ThreadFactory threadFactory, long sleepTime, TimeUnit sleepTimeUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
public IdleConnectionEvictor(HttpClientConnectionManager connectionManager, long sleepTime, TimeUnit sleepTimeUnit, long maxIdleTime, TimeUnit maxIdleTimeUnit)
public IdleConnectionEvictor(HttpClientConnectionManager connectionManager, long maxIdleTime, TimeUnit maxIdleTimeUnit)
public void start()
public void shutdown()
public boolean isRunning()
public void awaitTermination(long time, TimeUnit tunit) throws InterruptedException
InterruptedException
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.