public interface BigtableAsyncRpc<REQUEST,RESPONSE>
ClientCall
for a new request.Modifier and Type | Interface and Description |
---|---|
static class |
BigtableAsyncRpc.RpcMetrics |
Modifier and Type | Method and Description |
---|---|
io.grpc.MethodDescriptor<REQUEST,RESPONSE> |
getMethodDescriptor()
getMethodDescriptor.
|
BigtableAsyncRpc.RpcMetrics |
getRpcMetrics() |
boolean |
isRetryable(REQUEST request)
Can this request be retried?
|
io.grpc.ClientCall<REQUEST,RESPONSE> |
newCall(io.grpc.CallOptions callOptions)
Creates a
ClientCall . |
void |
start(io.grpc.ClientCall<REQUEST,RESPONSE> call,
REQUEST request,
io.grpc.ClientCall.Listener<RESPONSE> listener,
io.grpc.Metadata metadata)
Creates a
ClientCall . |
io.grpc.ClientCall<REQUEST,RESPONSE> newCall(io.grpc.CallOptions callOptions)
ClientCall
.callOptions
- A set of gRPC options to use on this call.void start(io.grpc.ClientCall<REQUEST,RESPONSE> call, REQUEST request, io.grpc.ClientCall.Listener<RESPONSE> listener, io.grpc.Metadata metadata)
ClientCall
.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.boolean isRetryable(REQUEST request)
request
- The request to send which may require introspection to determine retryability.io.grpc.MethodDescriptor<REQUEST,RESPONSE> getMethodDescriptor()
getMethodDescriptor.
MethodDescriptor
that describes the logical endpoint.BigtableAsyncRpc.RpcMetrics getRpcMetrics()