C
public static class Promise.Adapter<C> extends Object implements Promise<C>
Empty implementation of Promise
Promise
Promise.Adapter<C>
Promise.Adapter()
void
failed(Throwable x)
succeeded(C result)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Promise.Adapter()
public void succeeded(C result)
Callback invoked when the operation completes.
succeeded
Promise<C>
result
Promise.failed(Throwable)
public void failed(Throwable x)
Callback invoked when the operation fails.
failed
x
Copyright © 1995-2015 Webtide. All Rights Reserved.