| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpClientConnectionManager | |
| private volatile Exception | |
| private final long | |
| private final long | |
| private final Thread | |
| private final ThreadFactory |
| Access | Constructor and Description |
|---|---|
| public | IdleConnectionEvictor(final HttpClientConnectionManager connectionManager, final ThreadFactory threadFactory, final long sleepTime, final TimeUnit sleepTimeUnit, final long maxIdleTime, final TimeUnit maxIdleTimeUnit)
|
| public | IdleConnectionEvictor(final HttpClientConnectionManager connectionManager, final long sleepTime, final TimeUnit sleepTimeUnit, final long maxIdleTime, final TimeUnit maxIdleTimeUnit)
|
| public | IdleConnectionEvictor(final HttpClientConnectionManager connectionManager, final long maxIdleTime, final TimeUnit maxIdleTimeUnit)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public void | |
| public void |
| connectionManager | back to summary |
|---|---|
| private final HttpClientConnectionManager connectionManager | |
| exception | back to summary |
|---|---|
| private volatile Exception exception | |
| maxIdleTimeMs | back to summary |
|---|---|
| private final long maxIdleTimeMs | |
| sleepTimeMs | back to summary |
|---|---|
| private final long sleepTimeMs | |
| thread | back to summary |
|---|---|
| private final Thread thread | |
| threadFactory | back to summary |
|---|---|
| private final ThreadFactory threadFactory | |
| IdleConnectionEvictor | back to summary |
|---|---|
| public IdleConnectionEvictor(final HttpClientConnectionManager connectionManager, final ThreadFactory threadFactory, final long sleepTime, final TimeUnit sleepTimeUnit, final long maxIdleTime, final TimeUnit maxIdleTimeUnit) | |
| IdleConnectionEvictor | back to summary |
|---|---|
| public IdleConnectionEvictor(final HttpClientConnectionManager connectionManager, final long sleepTime, final TimeUnit sleepTimeUnit, final long maxIdleTime, final TimeUnit maxIdleTimeUnit) | |
| IdleConnectionEvictor | back to summary |
|---|---|
| public IdleConnectionEvictor(final HttpClientConnectionManager connectionManager, final long maxIdleTime, final TimeUnit maxIdleTimeUnit) | |
| awaitTermination | back to summary |
|---|---|
| public void awaitTermination(final long time, final TimeUnit timeUnit) throws InterruptedException | |
| isRunning | back to summary |
|---|---|
| public boolean isRunning() | |
| shutdown | back to summary |
|---|---|
| public void shutdown() | |
| start | back to summary |
|---|---|
| public void start() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Thread | newThread(final Runnable
a runnable to be executed by new thread instance r)Implements java. Thread to run the given runnable.
|
| DefaultThreadFactory | back to summary |
|---|---|
| pack-priv DefaultThreadFactory() | |
| newThread | back to summary |
|---|---|
| public Thread newThread(final Runnable r) Implements java. Doc from java. Constructs a new unstarted | |