|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.RpcRetryingCallerFactory
@InterfaceAudience.Private public class RpcRetryingCallerFactory
Factory to create an RpcRetryingCaller
Field Summary | |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf
|
static String |
CUSTOM_CALLER_CONF_KEY
Configuration key for a custom RpcRetryingCaller |
Constructor Summary | |
---|---|
RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf)
|
|
RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf,
ServerStatisticTracker stats)
|
Method Summary | ||
---|---|---|
static RpcRetryingCallerFactory |
instantiate(org.apache.hadoop.conf.Configuration configuration,
ServerStatisticTracker stats)
|
|
|
newCaller()
Create a new RetryingCaller with configured rpc timeout. |
|
|
newCaller(int rpcTimeout)
Create a new RetryingCaller with specific rpc timeout. |
|
void |
setStatisticTracker(ServerStatisticTracker statisticTracker)
Set the tracker that should be used for tracking statistics about the server |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CUSTOM_CALLER_CONF_KEY
RpcRetryingCaller
protected final org.apache.hadoop.conf.Configuration conf
Constructor Detail |
---|
public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf)
public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf, ServerStatisticTracker stats)
Method Detail |
---|
public void setStatisticTracker(ServerStatisticTracker statisticTracker)
public <T> RpcRetryingCaller<T> newCaller(int rpcTimeout)
public <T> RpcRetryingCaller<T> newCaller()
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ServerStatisticTracker stats)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |