public interface BigtableAsyncRpc<REQUEST,RESPONSE>
ClientCall
for a new request.Modifier and Type | Interface | Description |
---|---|---|
static class |
BigtableAsyncRpc.RpcMetrics |
Modifier and Type | Method | 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 it. |
void |
start(REQUEST request,
io.grpc.ClientCall.Listener<RESPONSE> listener,
io.grpc.Metadata metadata,
io.grpc.ClientCall<REQUEST,RESPONSE> call) |
Starts a
ClientCall . |
io.grpc.ClientCall<REQUEST,RESPONSE> newCall(io.grpc.CallOptions callOptions)
ClientCall
it.callOptions
- A set of gRPC options to use on this call.void start(REQUEST request, io.grpc.ClientCall.Listener<RESPONSE> listener, io.grpc.Metadata metadata, io.grpc.ClientCall<REQUEST,RESPONSE> call)
ClientCall
.request
- The request to send.listener
- A listener which handles responses.metadata
- A set of predefined headers to use.call
- A ClientCall
.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()