Modifier and Type | Method and Description |
---|---|
protected abstract FutureImpl<Connection> |
AbstractSocketConnectorHandler.connectAsync(SocketAddress remoteAddress,
SocketAddress localAddress,
CompletionHandler<Connection> completionHandler,
boolean needFuture) |
protected FutureImpl<Connection> |
AbstractSocketConnectorHandler.makeCancellableFuture(Connection connection) |
Modifier and Type | Class and Description |
---|---|
class |
ReadyFutureImpl<R>
Future implementation with the specific unmodifiable result. |
class |
SafeFutureImpl<R>
Safe
FutureImpl implementation. |
class |
UnsafeFutureImpl<R>
Simple thread-unsafe
Future implementation. |
Modifier and Type | Field and Description |
---|---|
protected FutureImpl<Transport> |
NIOTransport.shutdownFuture
Future to control graceful shutdown status
|
Modifier and Type | Method and Description |
---|---|
protected FutureImpl<Connection> |
TCPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress,
SocketAddress localAddress,
CompletionHandler<Connection> completionHandler,
boolean needFuture) |
protected FutureImpl<Connection> |
UDPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress,
SocketAddress localAddress,
CompletionHandler<Connection> completionHandler,
boolean needFuture) |
Modifier and Type | Method and Description |
---|---|
protected void |
TCPNIOConnectorHandler.waitNIOFuture(FutureImpl<Connection> future,
CompletionHandler<Connection> completionHandler) |
protected void |
UDPNIOConnectorHandler.waitNIOFuture(FutureImpl<Connection> future,
CompletionHandler<Connection> completionHandler) |
Constructor and Description |
---|
RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener) |
Constructor and Description |
---|
CustomClientFilter(FutureImpl<GIOPMessage> resultFuture) |
Constructor and Description |
---|
ClientDownloadFilter(URI uri,
FutureImpl<String> completeFuture)
ClientDownloadFilter constructor
|
Constructor and Description |
---|
HandshakeCompletionHandler(FutureImpl<SSLEngine> future,
CompletionHandler<SSLEngine> completionHandler,
SSLEngine sslEngine) |
Modifier and Type | Field and Description |
---|---|
protected FutureImpl<Integer> |
BufferedInput.future |
Modifier and Type | Method and Description |
---|---|
static <R> FutureImpl<R> |
Futures.createSafeFuture()
Returns thread-safe
FutureImpl implementation. |
static <R> FutureImpl<R> |
Futures.createUnsafeFuture()
Returns non thread-safe
FutureImpl implementation. |
FutureImpl<E> |
StateHolder.ConditionElement.getFuture() |
Modifier and Type | Method and Description |
---|---|
static <R> void |
Futures.notifyCancel(FutureImpl<R> future,
CompletionHandler completionHandler)
Complete passed
FutureImpl and CompletionHandler via
the cancellation notification. |
static <R> void |
Futures.notifyFailure(FutureImpl<R> future,
CompletionHandler completionHandler,
Throwable error)
Complete passed
FutureImpl and CompletionHandler using
the passed error |
static <R> void |
Futures.notifyResult(FutureImpl<R> future,
CompletionHandler<R> completionHandler,
R result)
Complete passed
FutureImpl and CompletionHandler using
the passed result object. |
static <A,B> CompletionHandler<B> |
Futures.toAdaptedCompletionHandler(FutureImpl<A> future,
CompletionHandler<A> completionHandler,
GenericAdapter<B,A> adapter)
|
static <A,B> CompletionHandler<B> |
Futures.toAdaptedCompletionHandler(FutureImpl<A> future,
GenericAdapter<B,A> adapter)
Creates
CompletionHandler , which may serve as a bridge
for passed FutureImpl . |
static <R> CompletionHandler<R> |
Futures.toCompletionHandler(FutureImpl<R> future)
Creates
CompletionHandler , which may serve as a bridge for passed
FutureImpl . |
static <R> CompletionHandler<R> |
Futures.toCompletionHandler(FutureImpl<R> future,
CompletionHandler<R> completionHandler)
Creates
CompletionHandler , which may serve as a bridge for passed
FutureImpl and CompletionHandler objects. |
Constructor and Description |
---|
CompletionHandlerAdapter(FutureImpl<A> future) |
CompletionHandlerAdapter(FutureImpl<A> future,
CompletionHandler<A> completionHandler) |
CompletionHandlerAdapter(FutureImpl<A> future,
CompletionHandler<A> completionHandler,
GenericAdapter<B,A> adapter) |
ConditionElement(Condition condition,
FutureImpl<E> future,
CompletionHandler<E> completionHandler) |
Copyright © 2014 Oracle Corporation. All rights reserved.