org.apache.hadoop.hbase.client
Class RpcRetryingCallerFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.client.RpcRetryingCallerFactory

@InterfaceAudience.Private
public class RpcRetryingCallerFactory
extends Object

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)
           
<T> RpcRetryingCaller<T>
newCaller()
           
 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

CUSTOM_CALLER_CONF_KEY

public static final String CUSTOM_CALLER_CONF_KEY
Configuration key for a custom RpcRetryingCaller

See Also:
Constant Field Values

conf

protected final org.apache.hadoop.conf.Configuration conf
Constructor Detail

RpcRetryingCallerFactory

public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf)

RpcRetryingCallerFactory

public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf,
                                ServerStatisticTracker stats)
Method Detail

setStatisticTracker

public void setStatisticTracker(ServerStatisticTracker statisticTracker)
Set the tracker that should be used for tracking statistics about the server


newCaller

public <T> RpcRetryingCaller<T> newCaller()

instantiate

public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration,
                                                   ServerStatisticTracker stats)


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.