Tabnine Logo
ClientBackoffPolicy.getBackoffTime
Code IndexAdd Tabnine to your IDE (free)

How to use
getBackoffTime
method
in
org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy

Best Java code snippets using org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy.getBackoffTime (Showing top 6 results out of 315)

origin: apache/hbase

/**
 * @param server server location where the target region is hosted
 * @param regionName name of the region which we are going to write some data
 * @return the amount of time the client should wait until it submit a request to the
 * specified server and region
 */
private Long getBackoff(ServerName server, byte[] regionName) {
 ServerStatisticTracker tracker = asyncProcess.connection.getStatisticsTracker();
 ServerStatistics stats = tracker.getStats(server);
 return asyncProcess.connection.getBackoffPolicy()
   .getBackoffTime(server, regionName, stats);
}
origin: apache/hbase

 regionStats.getMemStoreLoadPercent());
long backoffTime = backoffPolicy.getBackoffTime(server, regionName, serverStats);
assertNotEquals("Reported load does not produce a backoff", 0, backoffTime);
LOG.debug("Backoff calculated for " + region.getRegionInfo().getRegionNameAsString() + " @ " +
origin: org.apache.hbase/hbase-client

/**
 * @param server server location where the target region is hosted
 * @param regionName name of the region which we are going to write some data
 * @return the amount of time the client should wait until it submit a request to the
 * specified server and region
 */
private Long getBackoff(ServerName server, byte[] regionName) {
 ServerStatisticTracker tracker = asyncProcess.connection.getStatisticsTracker();
 ServerStatistics stats = tracker.getStats(server);
 return asyncProcess.connection.getBackoffPolicy()
   .getBackoffTime(server, regionName, stats);
}
origin: com.aliyun.hbase/alihbase-client

/**
 * @param server server location where the target region is hosted
 * @param regionName name of the region which we are going to write some data
 * @return the amount of time the client should wait until it submit a request to the
 * specified server and region
 */
private Long getBackoff(ServerName server, byte[] regionName) {
 ServerStatisticTracker tracker = asyncProcess.connection.getStatisticsTracker();
 ServerStatistics stats = tracker.getStats(server);
 return asyncProcess.connection.getBackoffPolicy()
   .getBackoffTime(server, regionName, stats);
}
origin: harbby/presto-connectors

/**
 * @param server server location where the target region is hosted
 * @param regionName name of the region which we are going to write some data
 * @return the amount of time the client should wait until it submit a request to the
 * specified server and region
 */
private Long getBackoff(ServerName server, byte[] regionName) {
 ServerStatisticTracker tracker = AsyncProcess.this.connection.getStatisticsTracker();
 ServerStatistics stats = tracker.getStats(server);
 return AsyncProcess.this.connection.getBackoffPolicy()
   .getBackoffTime(server, regionName, stats);
}
origin: org.apache.hbase/hbase-server

 regionStats.getMemStoreLoadPercent());
long backoffTime = backoffPolicy.getBackoffTime(server, regionName, serverStats);
assertNotEquals("Reported load does not produce a backoff", 0, backoffTime);
LOG.debug("Backoff calculated for " + region.getRegionInfo().getRegionNameAsString() + " @ " +
org.apache.hadoop.hbase.client.backoffClientBackoffPolicygetBackoffTime

Popular methods of ClientBackoffPolicy

    Popular in Java

    • Running tasks concurrently on multiple threads
    • onCreateOptionsMenu (Activity)
    • getExternalFilesDir (Context)
    • setScale (BigDecimal)
    • Stack (java.util)
      Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
    • Stream (java.util.stream)
      A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
    • ZipFile (java.util.zip)
      This class provides random read access to a zip file. You pay more to read the zip file's central di
    • SSLHandshakeException (javax.net.ssl)
      The exception that is thrown when a handshake could not be completed successfully.
    • ServletException (javax.servlet)
      Defines a general exception a servlet can throw when it encounters difficulty.
    • Options (org.apache.commons.cli)
      Main entry-point into the library. Options represents a collection of Option objects, which describ
    • From CI to AI: The AI layer in your organization
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now