result = builder.result;
}
-
@Override
public boolean cancel(final boolean mayInterruptIfRunning) {
return cancel;
}
@Override
- public RpcResult<T> get(final long timeout, final TimeUnit unit) throws InterruptedException,
- ExecutionException, TimeoutException {
+ public RpcResult<T> get(final long timeout, final TimeUnit unit) throws InterruptedException, ExecutionException,
+ TimeoutException {
return result;
}