Top Description Interfaces Classes Enums
[default module]

Package org.apache.hc.core5.pool


Client side connection pool component APIs.

Interface Summary

Modifier and TypeInterface and Description
public interface
ConnPool<
the route type that represents the opposite endpoint of a pooled connection.
T
,
the type of pooled connections.
C extends ModalCloseable
>

ConnPool represents a shared pool connections can be leased from and released back to.

public interface
ConnPoolControl<
the route type that represents the opposite endpoint of a pooled connection.
T
>

Interface to control runtime properties of a ConnPool such as maximum total number of connections or maximum connections per route allowed.

public interface
ConnPoolListener<T>

Connection pool event listener.

public interface
ConnPoolStats<
the route type that represents the opposite endpoint of a pooled connection.
T
>

Interface to obtain connection pool statistics.

public interface
DisposalCallback<
process or connection type.
T extends ModalCloseable
>

Represents a customizable disposal strategy for ModalCloseable instances.

public interface
ManagedConnPool<
the route type that represents the opposite endpoint of a pooled connection.
T
,
the type of pooled connections.
C extends ModalCloseable
>

ConnPool that also implements ConnPoolControl and AutoCloseable.

Class Summary

Modifier and TypeClass and Description
public class
DefaultDisposalCallback<
socket based connection type.
T extends SocketModalCloseable
>

Default implementation of DisposalCallback.

public class
LaxConnPool<
route
T
,
connection object
C extends ModalCloseable
>

Connection pool with higher concurrency but with lax connection limit guarantees.

public class
PoolEntry<
the route type that represents the opposite endpoint of a pooled connection.
T
,
the connection type.
C extends ModalCloseable
>

Pool entry containing a pool connection object along with its route.

public class
PoolStats

Pool statistics.

public class
StrictConnPool<
route
T
,
connection object
C extends ModalCloseable
>

Connection pool with strict connection limit guarantees.

Enum Summary

Modifier and TypeEnum and Description
public enum
PoolConcurrencyPolicy

Enumeration of pool concurrency policies

public enum
PoolReusePolicy

Enumeration of pooled connection re-use policies