Package | Description |
---|---|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.spi |
Interfaces and classes for service providers.
|
org.forgerock.util.promise |
An implementation of the
Promise API in Java. |
Modifier and Type | Interface and Description |
---|---|
interface |
LdapResultHandler<S>
A completion handler for consuming the result of an asynchronous operation or
connection attempts.
|
Modifier and Type | Method and Description |
---|---|
LdapPromise<S> |
LdapPromise.thenOnException(ExceptionHandler<? super LdapException> onException) |
LdapPromise<S> |
LdapPromise.thenOnResultOrException(ResultHandler<? super S> onResult,
ExceptionHandler<? super LdapException> onException) |
Modifier and Type | Class and Description |
---|---|
class |
LdapPromiseImpl<S>
This class provides an implementation of the
LdapPromise . |
Modifier and Type | Class and Description |
---|---|
class |
PromiseImpl<V,E extends Exception>
An implementation of
Promise which can be used as is, or as the basis
for more complex asynchronous behavior. |
Modifier and Type | Method and Description |
---|---|
Promise<V,E> |
PromiseImpl.thenOnException(ExceptionHandler<? super E> onException) |
Promise<V,E> |
Promise.thenOnException(ExceptionHandler<? super E> onException)
Registers the provided completion handler for notification if this
Promise cannot be completed due to an exception. |
Promise<V,E> |
PromiseImpl.thenOnResultOrException(ResultHandler<? super V> onResult,
ExceptionHandler<? super E> onException) |
Promise<V,E> |
Promise.thenOnResultOrException(ResultHandler<? super V> onResult,
ExceptionHandler<? super E> onException)
Registers the provided completion handlers for notification once this
Promise has completed (with a result or an exception). |
Copyright © 2010-2018, ForgeRock All Rights Reserved.