| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2011-2012 ForgeRock AS |
| | | * Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap; |
| | | |
| | | import java.io.Closeable; |
| | | |
| | | /** |
| | | * A connection factory which maintains and re-uses a pool of connections. |
| | | * Connections obtained from a connection pool are returned to the connection |
| | |
| | | * Since pooled connections are re-used, applications must use operations such |
| | | * as binds and StartTLS with extreme caution. |
| | | */ |
| | | public interface ConnectionPool extends ConnectionFactory, Closeable { |
| | | public interface ConnectionPool extends ConnectionFactory { |
| | | /** |
| | | * Releases any resources associated with this connection pool. Pooled |
| | | * connections will be permanently closed and this connection pool will no |