BigtableAsyncRpc (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.grpc.async

Interface BigtableAsyncRpc<REQUEST,RESPONSE>



  • public interface BigtableAsyncRpc<REQUEST,RESPONSE>
    This interface represents a logical asynchronous RPC end point, including creating a ClientCall for a new request.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Method Detail

      • newCall

        io.grpc.ClientCall<REQUEST,RESPONSE> newCall(io.grpc.CallOptions callOptions)
        Creates a ClientCall it.
        Parameters:
        callOptions - A set of gRPC options to use on this call.
        Returns:
        A ClientCall that represents a new request.
      • start

        void start(REQUEST request,
                   io.grpc.ClientCall.Listener<RESPONSE> listener,
                   io.grpc.Metadata metadata,
                   io.grpc.ClientCall<REQUEST,RESPONSE> call)
        Starts a ClientCall.
        Parameters:
        request - The request to send.
        listener - A listener which handles responses.
        metadata - A set of predefined headers to use.
        call - A ClientCall.
      • isRetryable

        boolean isRetryable(REQUEST request)
        Can this request be retried?
        Parameters:
        request - The request to send which may require introspection to determine retryability.
        Returns:
        true if the request can be retried.
      • getMethodDescriptor

        io.grpc.MethodDescriptor<REQUEST,RESPONSE> getMethodDescriptor()
        getMethodDescriptor.
        Returns:
        MethodDescriptor that describes the logical endpoint.