public interface ConnectionPool extends LdapClient
When connection pools are no longer needed they must be explicitly closed in order to close any remaining pooled connections.
Since pooled connections are re-used, applications must use operations such as binds and StartTLS with extreme caution.
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases any resources associated with this connection pool.
|
connect
void close()
Attempts to use this connection pool after it has been closed will result in an IllegalStateException
.
Calling close
on a connection pool which is already closed has no effect.
close
in interface AutoCloseable
close
in interface Closeable
close
in interface LdapClient
Copyright 2010-2022 ForgeRock AS.