/** * Processes an abandon request with the provided information. * * @param requestID The async request ID for the request to abandon. * * @throws LDAPException If a problem occurs while sending the request to * the server. */ public void abandon(final AsyncRequestID requestID) throws LDAPException { abandon(requestID, null); }
/** * Processes an abandon request with the provided information. * * @param requestID The async request ID for the request to abandon. * * @throws LDAPException If a problem occurs while sending the request to * the server. */ public void abandon(final AsyncRequestID requestID) throws LDAPException { abandon(requestID, null); }
/** * Closes this LDAP entry source. * * @param abandon Indicates whether to attempt to abandon the search. */ private void closeInternal(final boolean abandon) { addToQueue(END_OF_RESULTS); if (closed.compareAndSet(false, true)) { if (abandon) { try { connection.abandon(asyncRequestID); } catch (Exception e) { debugException(e); } } if (closeConnection) { connection.close(); } } }
StaticUtils.NO_STRINGS, StaticUtils.NO_CONTROLS)); connection.abandon(this);
StaticUtils.NO_STRINGS, StaticUtils.NO_CONTROLS)); connection.abandon(this);
/** * Sends a request to abandon the request with the specified message ID. * * @param id The message ID of the operation to abandon. * * @throws LDAPException If a problem occurs while sending the request. */ public void abandon(final int id) throws LDAPException { try { conn.abandon(InternalSDKHelper.createAsyncRequestID(id, conn), getControls(null)); } catch (com.unboundid.ldap.sdk.LDAPException le) { debugException(le); throw new LDAPException(le); } }
conn.abandon(requestID);
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
if (abandon) conn.abandon(helper.getAsyncRequestID());
if (abandon) conn.abandon(helper.getAsyncRequestID());
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);
if (connection.getConnectionOptions().abandonOnTimeout()) connection.abandon(messageID);