public class ClientInvocationFuture extends AbstractInvocationFuture<ClientMessage>
Modifier and Type | Field and Description |
---|---|
protected ClientMessage |
request |
defaultExecutor, logger
Constructor and Description |
---|
ClientInvocationFuture(ClientInvocation invocation,
HazelcastClientInstanceImpl client,
ClientMessage request,
ILogger logger) |
Modifier and Type | Method and Description |
---|---|
ClientInvocation |
getInvocation() |
protected String |
invocationToString() |
protected TimeoutException |
newTimeoutException(long timeout,
TimeUnit unit) |
protected void |
onInterruptDetected() |
protected Object |
resolve(Object value) |
ClientMessage |
resolveAndThrow(Object response) |
protected Throwable |
unwrap(Throwable throwable) |
protected final ClientMessage request
public ClientInvocationFuture(ClientInvocation invocation, HazelcastClientInstanceImpl client, ClientMessage request, ILogger logger)
protected String invocationToString()
invocationToString
in class AbstractInvocationFuture<ClientMessage>
protected void onInterruptDetected()
onInterruptDetected
in class AbstractInvocationFuture<ClientMessage>
protected TimeoutException newTimeoutException(long timeout, TimeUnit unit)
newTimeoutException
in class AbstractInvocationFuture<ClientMessage>
protected Throwable unwrap(Throwable throwable)
unwrap
in class AbstractInvocationFuture<ClientMessage>
protected Object resolve(Object value)
resolve
in class AbstractInvocationFuture<ClientMessage>
public ClientMessage resolveAndThrow(Object response) throws ExecutionException, InterruptedException
resolveAndThrow
in class AbstractInvocationFuture<ClientMessage>
ExecutionException
InterruptedException
public ClientInvocation getInvocation()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.