U
public static class Promise.Adapter<U> extends Object implements Promise<U>
Empty implementation of Promise.
Promise
Promise.Adapter<U>, Promise.Completable<S>
Adapter()
void
failed(Throwable x)
succeeded(U result)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from
public Adapter()
public void succeeded(U result)
Callback invoked when the operation completes.
succeeded
Promise<U>
result
Promise.failed(Throwable)
public void failed(Throwable x)
Callback invoked when the operation fails.
failed
x
Copyright © 2016. All rights reserved.