@InternalApi(value="For internal usage only")
public interface BigtableAsyncRpc<REQUEST,RESPONSE>
ClientCall
for a new request.
For internal use only - public for technical reasons.
Modifier and Type | Method and Description |
---|---|
io.grpc.MethodDescriptor<REQUEST,RESPONSE> |
getMethodDescriptor()
getMethodDescriptor.
|
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()
MethodDescriptor
that describes the logical endpoint.RpcMetrics getRpcMetrics()