@InternalApi(value="For internal usage only")
public interface DeadlineGeneratorFactory
DeadlineGenerator
for use in BigtableDataClient
RPCs.
For internal use only - public for technical reasons.
Modifier and Type | Field and Description |
---|---|
static DeadlineGeneratorFactory |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
<RequestT> DeadlineGenerator |
getRequestDeadlineGenerator(RequestT request,
boolean retriable)
Returns a
DeadlineGenerator instance to use for the given RPC operation. |
static final DeadlineGeneratorFactory DEFAULT
<RequestT> DeadlineGenerator getRequestDeadlineGenerator(RequestT request, boolean retriable)
DeadlineGenerator
instance to use for the given RPC operation. This should
only be called once per operation and be used for the duration of the operation.