org.apache.hadoop.hbase.client
Class ConnectionUtils

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

public class ConnectionUtils
extends Object

Utility used by client connections such as HConnection and ServerCallable


Constructor Summary
ConnectionUtils()
           
 
Method Summary
static long getPauseTime(long pause, int tries)
          Calculate pause time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionUtils

public ConnectionUtils()
Method Detail

getPauseTime

public static long getPauseTime(long pause,
                                int tries)
Calculate pause time. Built on HConstants.RETRY_BACKOFF.

Parameters:
pause -
tries -
Returns:
How long to wait after tries retries


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