@Override public void run() { AbstractRetryingOperation.this.run(); } };
/** {@inheritDoc} */ @Override public void run() { buffer = new ImmutableList.Builder<>(); super.run(); }
/** * Initial execution of the RPC. */ public ListenableFuture<ResultT> getAsyncResult() { Preconditions.checkState(operationTimerContext == null); operationTimerContext = rpc.getRpcMetrics().timeOperation(); run(); return completionFuture; }
@SuppressWarnings("unchecked") @Override public void run() { try { // restart the clock. super.run(); // pre-fetch one more result, for performance reasons. callWrapper.request(1); if (rowObserver instanceof ClientResponseObserver) { ((ClientResponseObserver<ReadRowsRequest, FlatRow>) rowObserver).beforeStart(callWrapper); } } catch (Exception e) { setException(e); } }