|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.handler.AbstractRetryOperationExceptionHandler<Q,S>
org.ldaptive.AbstractOperation.ReopenOperationExceptionHandler
public class AbstractOperation.ReopenOperationExceptionHandler
Exception handler that invokes Connection.reopen(BindRequest) when
an operation exception occurs and then invokes the operation again.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.handler.AbstractRetryOperationExceptionHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
AbstractOperation.ReopenOperationExceptionHandler()
Default constructor. |
|
AbstractOperation.ReopenOperationExceptionHandler(BindRequest request)
Creates a new reopen operation exception handler. |
|
| Method Summary | |
|---|---|
protected HandlerResult<Response<S>> |
createResult(Connection conn,
Q request,
Response<S> response)
Invoked if AbstractRetryOperationExceptionHandler.handleInternal(org.ldaptive.Connection, Q, org.ldaptive.Response succeeded. |
protected void |
handleInternal(Connection conn,
Q request,
Response<S> response)
Perform any operations required to recover from the operation exception. |
String |
toString()
|
| Methods inherited from class org.ldaptive.handler.AbstractRetryOperationExceptionHandler |
|---|
getRetry, getRetryBackoff, getRetryWait, handle, retry, setRetry, setRetryBackoff, setRetryWait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOperation.ReopenOperationExceptionHandler()
public AbstractOperation.ReopenOperationExceptionHandler(BindRequest request)
request - to bind with on reopen| Method Detail |
|---|
protected void handleInternal(Connection conn,
Q request,
Response<S> response)
throws LdapException
handleInternal in class AbstractRetryOperationExceptionHandler<Q extends Request,S>conn - connection the operation was executed onrequest - executed by the operationresponse - typically null
LdapException - if the retry fails
protected HandlerResult<Response<S>> createResult(Connection conn,
Q request,
Response<S> response)
throws LdapException
AbstractRetryOperationExceptionHandler.handleInternal(org.ldaptive.Connection, Q, org.ldaptive.Response) succeeded. Creates a response for the
original invocation that failed.
createResult in class AbstractRetryOperationExceptionHandler<Q extends Request,S>conn - connection the operation was executed onrequest - executed by the operationresponse - typically null
LdapException - if the operation failspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||