@InterfaceAudience.Private class AsyncRpcRetryingCallerFactory extends Object
Modifier and Type | Class and Description |
---|---|
class |
AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> |
class |
AsyncRpcRetryingCallerFactory.BatchCallerBuilder |
private class |
AsyncRpcRetryingCallerFactory.BuilderBase |
class |
AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> |
class |
AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder |
class |
AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> |
class |
AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> |
Modifier and Type | Field and Description |
---|---|
private AsyncConnectionImpl |
conn |
private org.apache.hbase.thirdparty.io.netty.util.Timer |
retryTimer |
Constructor and Description |
---|
AsyncRpcRetryingCallerFactory(AsyncConnectionImpl conn,
org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer) |
Modifier and Type | Method and Description |
---|---|
<T> AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> |
adminRequest() |
AsyncRpcRetryingCallerFactory.BatchCallerBuilder |
batch() |
<T> AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> |
masterRequest() |
AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder |
scanSingleRegion()
Create retry caller for scanning a region.
|
<T> AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> |
serverRequest() |
<T> AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> |
single()
Create retry caller for single action, such as get, put, delete, etc.
|
private final AsyncConnectionImpl conn
private final org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer
public AsyncRpcRetryingCallerFactory(AsyncConnectionImpl conn, org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer)
public <T> AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> single()
public AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder scanSingleRegion()
public AsyncRpcRetryingCallerFactory.BatchCallerBuilder batch()
public <T> AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<T> masterRequest()
public <T> AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> adminRequest()
public <T> AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> serverRequest()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.