AbstractRetryingOperation (Cloud Bigtable HBase Client for Java 1.3.0 API)


Class AbstractRetryingOperation<RequestT,ResponseT,ResultT>

  • java.lang.Object
    • io.grpc.ClientCall.Listener<ResponseT>
      • com.google.cloud.bigtable.grpc.async.AbstractRetryingOperation<RequestT,ResponseT,ResultT>
    • Method Detail

      • onClose

        public void onClose(io.grpc.Status status,
                            io.grpc.Metadata trailers)
        onClose in class io.grpc.ClientCall.Listener<ResponseT>
      • finalizeStats

        protected void finalizeStats(io.grpc.Status status)
      • onError

        protected void onError(io.grpc.Status status,
                               io.grpc.Metadata trailers)
      • performRetry

        protected void performRetry(long nextBackOff)
      • getRunnable

        protected Runnable getRunnable()
      • isRequestRetryable

        protected boolean isRequestRetryable()
      • setException

        protected void setException(Exception exception)
      • onOK

        protected abstract boolean onOK(io.grpc.Metadata trailers)
        A subclass has the opportunity to perform the final operations it needs now that the RPC is successfully complete. If a subclass has to retry, due to the message, this method will return false
        true if the operation was really completed.
      • getNextBackoff

        protected long getNextBackoff()
      • getCallOptions

        protected io.grpc.CallOptions getCallOptions()
      • getRetryRequest

        protected RequestT getRetryRequest()
      • getOriginalRequest

        public final RequestT getOriginalRequest()
      • cancel

        public void cancel()
        Cancels the RPC.
      • getBlockingResult

        public ResultT getBlockingResult()
      • cancel

        protected void cancel(String message)
        Cancels the RPC with a specific message.
        message -

Send feedback about...

Cloud Bigtable Documentation