@InterfaceAudience.Private public class RpcRetryingCallerWithReadReplicas extends Object
| 限定符和类型 | 类和说明 |
|---|---|
class |
RpcRetryingCallerWithReadReplicas.ResultBoundedCompletionService
A completion service for the RpcRetryingCallerFactory.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected ClusterConnection |
cConnection |
protected org.apache.hadoop.conf.Configuration |
conf |
protected Get |
get |
protected ExecutorService |
pool |
protected org.apache.hadoop.hbase.TableName |
tableName |
protected int |
timeBeforeReplicas |
| 构造器和说明 |
|---|
RpcRetryingCallerWithReadReplicas(RpcControllerFactory rpcControllerFactory,
org.apache.hadoop.hbase.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 org.apache.hadoop.hbase.TableName tableName
protected final int timeBeforeReplicas
public RpcRetryingCallerWithReadReplicas(RpcControllerFactory rpcControllerFactory, org.apache.hadoop.hbase.TableName tableName, ClusterConnection cConnection, Get get, ExecutorService pool, int retries, int callTimeout, int timeBeforeReplicas)
public Result call() throws DoNotRetryIOException, InterruptedIOException, RetriesExhaustedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.