Package | Description |
---|---|
org.forgerock.util.promise |
An implementation of the
Promise API in Java. |
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.thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException) |
Promise<V,E> |
Promise.thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException)
Registers the provided completion handler for notification if this
Promise cannot be completed due to an runtime exception. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.