@InterfaceAudience.Private public class ReversedScannerCallable extends ScannerCallable
closed, cursor, heartbeatMessage, id, instantiated, isRegionServerRemote, LOG, LOG_SCANNER_ACTIVITY, LOG_SCANNER_LATENCY_CUTOFF, renew, rpcControllerFactory, scan, scanMetrics, scannerIdlocation, rpcController, stub| Constructor and Description | 
|---|
| ReversedScannerCallable(ClusterConnection connection,
                       TableName tableName,
                       Scan scan,
                       ScanMetrics scanMetrics,
                       RpcControllerFactory rpcFactory,
                       int replicaId) | 
| Modifier and Type | Method and Description | 
|---|---|
| ScannerCallable | getScannerCallableForReplica(int id) | 
| void | prepare(boolean reload)Prepare by setting up any connections to servers, etc., ahead of call invocation. | 
| void | throwable(Throwable t,
         boolean retrying)Called when call throws an exception and we are going to retry; take action to make it so we
 succeed on next call (clear caches, do relookup of locations, etc.). | 
checkIfRegionServerIsRemote, getCaching, getCursor, getHRegionInfo, getLocationForReplica, getRegionLocationsForPrepare, getScan, rpcCall, setCaching, setClose, setRenewdoGet, doMutate, setStubByServiceNamecall, getConnection, getExceptionMessageAdditionalDetail, getLocation, getPriority, getRow, getRpcController, getRpcControllerCellScanner, getStub, getTableName, setLocation, setRpcControllerCellScanner, setStub, sleeppublic ReversedScannerCallable(ClusterConnection connection, TableName tableName, Scan scan, ScanMetrics scanMetrics, RpcControllerFactory rpcFactory, int replicaId)
connection - which connectiontableName - table callable is onscan - the scan to executescanMetrics - the ScanMetrics to used, if it is null, ScannerCallable won't collect
                    metricsrpcFactory - to create an RpcController to talk to the
                    regionserverreplicaId - the replica idpublic void throwable(Throwable t, boolean retrying)
RetryingCallablethrowable in interface RetryingCallable<Result[]>throwable in class RegionServerCallable<Result[],org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.BlockingInterface>t - throwable which was thrownretrying - True if we are in retrying mode (we are not in retrying mode when max retries
                 == 1; we ARE in retrying mode if retries > 1 even when we are the last
                 attempt)public void prepare(boolean reload)
             throws IOException
RetryingCallableprepare in interface RetryingCallable<Result[]>prepare in class ScannerCallablereload - force reload of server locationIOException - epublic ScannerCallable getScannerCallableForReplica(int id)
getScannerCallableForReplica in class ScannerCallableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.