Package org.ores.async
Class NeoWaterfallI.AsyncCallback<T,E>
java.lang.Object
org.ores.async.NeoWaterfallI.AsyncCallback<T,E>
- All Implemented Interfaces:
Asyncc.IAsyncCallback<Map.Entry<String,,T>, E> NeoWaterfallI.IAsyncCallback<T,,E> NeoWaterfallI.ICallbacks<T,E>
- Enclosing class:
- NeoWaterfallI
public abstract static class NeoWaterfallI.AsyncCallback<T,E>
extends Object
implements NeoWaterfallI.IAsyncCallback<T,E>, NeoWaterfallI.ICallbacks<T,E>
-
Field Summary
FieldsFields inherited from interface org.ores.async.Asyncc.IAsyncCallback
isDone -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidFire the continuation with either an error or a value (never both).protected abstract voiddoneInternal(org.ores.async.NeoWaterfallI.Marker done, E e, Map.Entry<String, T> m) <V> Vbooleanvoidvoidvoid<V> voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ores.async.Asyncc.IAsyncCallback
fail, setDone, success
-
Field Details
-
map
-
-
Constructor Details
-
AsyncCallback
-
-
Method Details
-
isShortCircuited
public boolean isShortCircuited() -
get
-
set
-
doneInternal
-
done
Description copied from interface:Asyncc.IAsyncCallbackFire the continuation with either an error or a value (never both).- Specified by:
donein interfaceAsyncc.IAsyncCallback<T,E> - Specified by:
donein interfaceNeoWaterfallI.IAsyncCallback<T,E> - Parameters:
e- the error, ornullfor successm- the value, ornullwheneis non-null
-
done
- Specified by:
donein interfaceNeoWaterfallI.IAsyncCallback<T,E>
-
resolve
- Specified by:
resolvein interfaceNeoWaterfallI.ICallbacks<T,E>
-
resolve
- Specified by:
resolvein interfaceNeoWaterfallI.ICallbacks<T,E>
-
reject
- Specified by:
rejectin interfaceNeoWaterfallI.ICallbacks<T,E>
-
done
- Specified by:
donein interfaceNeoWaterfallI.IAsyncCallback<T,E>
-