@InterfaceAudience.Private public class RpcRetryingCallerWithReadReplicas extends Object
Modifier and Type | Class and Description |
---|---|
class |
RpcRetryingCallerWithReadReplicas.ResultBoundedCompletionService
A completion service for the RpcRetryingCallerFactory.
|
Modifier and Type | Field and Description |
---|---|
protected ClusterConnection |
cConnection |
protected org.apache.hadoop.conf.Configuration |
conf |
protected Get |
get |
protected ExecutorService |
pool |
protected TableName |
tableName |
protected int |
timeBeforeReplicas |
Constructor and Description |
---|
RpcRetryingCallerWithReadReplicas(RpcControllerFactory rpcControllerFactory,
TableName tableName,
ClusterConnection cConnection,
Get get,
ExecutorService pool,
int retries,
int callTimeout,
int timeBeforeReplicas) |
protected final ExecutorService pool
protected final ClusterConnection cConnection
protected final org.apache.hadoop.conf.Configuration conf
protected final Get get
protected final TableName tableName
protected final int timeBeforeReplicas
public RpcRetryingCallerWithReadReplicas(RpcControllerFactory rpcControllerFactory, TableName tableName, ClusterConnection cConnection, Get get, ExecutorService pool, int retries, int callTimeout, int timeBeforeReplicas)
public Result call() throws DoNotRetryIOException, InterruptedIOException, RetriesExhaustedException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.