/** * Processes the provided delete request using a write connection from this * connection pool. * * @param deleteRequest The delete request to be processed. It must not be * {@code null}. * * @return The result of processing the delete operation. * * @throws LDAPException If the server rejects the delete request, or if a * problem is encountered while sending the request or * reading the response. */ public LDAPResult delete(final ReadOnlyDeleteRequest deleteRequest) throws LDAPException { return writePool.delete(deleteRequest); }
/** * Processes the provided delete request using a write connection from this * connection pool. * * @param deleteRequest The delete request to be processed. It must not be * {@code null}. * * @return The result of processing the delete operation. * * @throws LDAPException If the server rejects the delete request, or if a * problem is encountered while sending the request or * reading the response. */ public LDAPResult delete(final DeleteRequest deleteRequest) throws LDAPException { return writePool.delete(deleteRequest); }
/** * Deletes the entry with the specified DN using a write connection from this * connection pool. * * @param dn The DN of the entry to delete. It must not be {@code null}. * * @return The result of processing the delete operation. * * @throws LDAPException If the server rejects the delete request, or if a * problem is encountered while sending the request or * reading the response. */ public LDAPResult delete(final String dn) throws LDAPException { return writePool.delete(dn); }
result = ldapConnPool.delete(deleteRequest);
result = ldapConnPool.delete(deleteRequest);
try deleteResult = pool.delete(deleteRequest);