public abstract class DirectAsyncCaller extends Object implements AsyncCaller
| Constructor and Description |
|---|
DirectAsyncCaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(FutureCancelled cancelled) |
<T> void |
cancel(FutureDone<T> handle) |
<S,T> void |
cancel(StreamCollector<S,T> collector) |
<T> void |
fail(FutureDone<T> handle,
Throwable error) |
void |
fail(FutureFailed failed,
Throwable cause) |
<S,T> void |
fail(StreamCollector<S,T> collector,
Throwable error) |
void |
finish(FutureFinished finishable) |
protected String |
formatStack(StackTraceElement[] stack) |
protected abstract void |
internalError(String what,
Throwable e) |
boolean |
isThreaded() |
<T> void |
referenceLeaked(T reference,
StackTraceElement[] stack) |
<T> void |
resolve(FutureDone<T> handle,
T result) |
<T> void |
resolve(FutureResolved<T> resolved,
T value) |
<S,T> void |
resolve(StreamCollector<S,T> collector,
S result) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic <T> void resolve(FutureDone<T> handle, T result)
resolve in interface AsyncCallerpublic <T> void fail(FutureDone<T> handle, Throwable error)
fail in interface AsyncCallerpublic <T> void cancel(FutureDone<T> handle)
cancel in interface AsyncCallerpublic void finish(FutureFinished finishable)
finish in interface AsyncCallerpublic void cancel(FutureCancelled cancelled)
cancel in interface AsyncCallerpublic <T> void resolve(FutureResolved<T> resolved, T value)
resolve in interface AsyncCallerpublic void fail(FutureFailed failed, Throwable cause)
fail in interface AsyncCallerpublic <S,T> void resolve(StreamCollector<S,T> collector, S result)
resolve in interface AsyncCallerpublic <S,T> void fail(StreamCollector<S,T> collector, Throwable error)
fail in interface AsyncCallerpublic <S,T> void cancel(StreamCollector<S,T> collector)
cancel in interface AsyncCallerpublic <T> void referenceLeaked(T reference,
StackTraceElement[] stack)
referenceLeaked in interface AsyncCallerpublic boolean isThreaded()
isThreaded in interface AsyncCallerprotected String formatStack(StackTraceElement[] stack)
Copyright © 2017. All rights reserved.