RetryingUnaryOperation (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.grpc.async

Class RetryingUnaryOperation<RequestT,ResponseT>

    • Method Detail

      • onMessage

        public void onMessage(ResponseT message)
        Overrides:
        onMessage in class io.grpc.ClientCall.Listener<ResponseT>
      • onOK

        protected 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
        Specified by:
        onOK in class AbstractRetryingOperation<RequestT,ResponseT,ResponseT>
        Returns:
        true if the operation was really completed.