@InternalApi(value="For internal usage only")
public interface CallOptionsFactory
CallOptions
for use in BigtableDataClient
RPCs.
For internal use only - public for technical reasons.
Modifier and Type | Interface and Description |
---|---|
static class |
CallOptionsFactory.ConfiguredCallOptionsFactory
Creates a new
CallOptions based on a CallOptionsConfig . |
static class |
CallOptionsFactory.Default
Returns
CallOptions.DEFAULT with any Context.current() 's Context.getDeadline() applied to it. |
Modifier and Type | Method and Description |
---|---|
<RequestT> io.grpc.CallOptions |
create(io.grpc.MethodDescriptor<RequestT,?> descriptor,
RequestT request)
Provide a
CallOptions object to be used in a single RPC. |
<RequestT> io.grpc.CallOptions create(io.grpc.MethodDescriptor<RequestT,?> descriptor, RequestT request)
CallOptions
object to be used in a single RPC. CallOptions
can
contain state, specifically start time with an expiration is set; in cases when timeouts are
used, implementations should create a new CallOptions each time this method is called.