BigtableAsyncRpc (Cloud Bigtable HBase Client for Java 0.9.3-SNAPSHOT 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.
        Parameters:
        callOptions - A set of gRPC options to use on this call.
        Returns:
        A ClientCall that represents a new request.
      • start

        void start(io.grpc.ClientCall<REQUEST,RESPONSE> call,
                   REQUEST request,
                   io.grpc.ClientCall.Listener<RESPONSE> listener,
                   io.grpc.Metadata metadata)
        Creates a ClientCall.
        Parameters:
        call - The ClientCall to use. See newCall(CallOptions)
        request - The request to send.
        listener - A listener which handles responses.
        metadata - A set of predefined headers to use.
      • 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.


Send feedback about...

Cloud Bigtable Documentation