public class RetryingMutateRowsOperation extends AbstractRetryingOperation<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse,List<com.google.bigtable.v2.MutateRowsResponse>>
BigtableDataClient.mutateRows(MutateRowsRequest)
operations.AbstractRetryingOperation.GrpcFuture<RespT>
callWrapper, completionFuture, failedCount, LOG, operationSpan, operationTimerContext, retryExecutorService, retryOptions, rpc, rpcTimerContext, UNARY_DEADLINE_MINUTES
Constructor | Description |
---|---|
RetryingMutateRowsOperation(RetryOptions retryOptions,
com.google.bigtable.v2.MutateRowsRequest originalRquest,
BigtableAsyncRpc<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse> retryableRpc,
io.grpc.CallOptions callOptions,
ScheduledExecutorService retryExecutorService,
io.grpc.Metadata originalMetadata,
com.google.api.core.ApiClock clock) |
Modifier and Type | Method | Description |
---|---|---|
protected com.google.bigtable.v2.MutateRowsRequest |
getRetryRequest() |
|
void |
onMessage(com.google.bigtable.v2.MutateRowsResponse message) |
|
protected boolean |
onOK(io.grpc.Metadata trailers) |
A subclass has the opportunity to perform the final operations it needs now that the RPC is
successfully complete.
|
cancel, cancel, finalizeStats, getAsyncResult, getBlockingResult, getExhaustedRetriesException, getNextBackoff, getOperationCallOptions, getRpcCallOptions, getRunnable, inRetryMode, isRequestRetryable, isStreamingRead, onClose, onError, performRetry, resetStatusBasedBackoff, run, setException
public RetryingMutateRowsOperation(RetryOptions retryOptions, com.google.bigtable.v2.MutateRowsRequest originalRquest, BigtableAsyncRpc<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse> retryableRpc, io.grpc.CallOptions callOptions, ScheduledExecutorService retryExecutorService, io.grpc.Metadata originalMetadata, com.google.api.core.ApiClock clock)
public void onMessage(com.google.bigtable.v2.MutateRowsResponse message)
onMessage
in class io.grpc.ClientCall.Listener<com.google.bigtable.v2.MutateRowsResponse>
protected com.google.bigtable.v2.MutateRowsRequest getRetryRequest()
getRetryRequest
in class AbstractRetryingOperation<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse,List<com.google.bigtable.v2.MutateRowsResponse>>
protected boolean onOK(io.grpc.Metadata trailers)
AbstractRetryingOperation
onOK
in class AbstractRetryingOperation<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse,List<com.google.bigtable.v2.MutateRowsResponse>>