S - The type of result returned by this promise.public interface LdapPromise<S> extends org.forgerock.util.promise.Promise<S,LdapException>
| Modifier and Type | Method and Description |
|---|---|
int |
getRequestID()
Returns the request ID of the request if appropriate.
|
<VOUT> LdapPromise<VOUT> |
then(org.forgerock.util.Function<? super S,VOUT,LdapException> onResult) |
LdapPromise<S> |
thenAlways(Runnable onResultOrException) |
<VOUT> LdapPromise<VOUT> |
thenAsync(org.forgerock.util.AsyncFunction<? super S,VOUT,LdapException> onResult) |
LdapPromise<S> |
thenFinally(Runnable onResultOrException) |
LdapPromise<S> |
thenOnException(org.forgerock.util.promise.ExceptionHandler<? super LdapException> onException) |
LdapPromise<S> |
thenOnResult(org.forgerock.util.promise.ResultHandler<? super S> onResult) |
LdapPromise<S> |
thenOnResultOrException(org.forgerock.util.promise.ResultHandler<? super S> onResult,
org.forgerock.util.promise.ExceptionHandler<? super LdapException> onException) |
LdapPromise<S> |
thenOnResultOrException(Runnable onResultOrException) |
cancel, get, get, getOrThrow, getOrThrow, getOrThrowUninterruptibly, getOrThrowUninterruptibly, isCancelled, isDone, then, then, thenAsync, thenAsync, thenCatch, thenCatchAsync, thenCatchRuntimeException, thenCatchRuntimeExceptionAsync, thenOnRuntimeExceptionint getRequestID()
-1 if there is no request ID.LdapPromise<S> thenOnResult(org.forgerock.util.promise.ResultHandler<? super S> onResult)
thenOnResult in interface org.forgerock.util.promise.Promise<S,LdapException>LdapPromise<S> thenOnException(org.forgerock.util.promise.ExceptionHandler<? super LdapException> onException)
thenOnException in interface org.forgerock.util.promise.Promise<S,LdapException>LdapPromise<S> thenOnResultOrException(Runnable onResultOrException)
thenOnResultOrException in interface org.forgerock.util.promise.Promise<S,LdapException><VOUT> LdapPromise<VOUT> then(org.forgerock.util.Function<? super S,VOUT,LdapException> onResult)
then in interface org.forgerock.util.promise.Promise<S,LdapException>LdapPromise<S> thenOnResultOrException(org.forgerock.util.promise.ResultHandler<? super S> onResult, org.forgerock.util.promise.ExceptionHandler<? super LdapException> onException)
thenOnResultOrException in interface org.forgerock.util.promise.Promise<S,LdapException>LdapPromise<S> thenAlways(Runnable onResultOrException)
thenAlways in interface org.forgerock.util.promise.Promise<S,LdapException>LdapPromise<S> thenFinally(Runnable onResultOrException)
thenFinally in interface org.forgerock.util.promise.Promise<S,LdapException><VOUT> LdapPromise<VOUT> thenAsync(org.forgerock.util.AsyncFunction<? super S,VOUT,LdapException> onResult)
thenAsync in interface org.forgerock.util.promise.Promise<S,LdapException>Copyright © 2017-2020 Wren Security. All Rights Reserved.