private Result[] call(ScannerCallableWithReplicas callable, RpcRetryingCaller<Result[]> caller, int scannerTimeout, boolean updateCurrentRegion) throws IOException { if (Thread.interrupted()) { throw new InterruptedIOException(); } // callWithoutRetries is at this layer. Within the ScannerCallableWithReplicas, // we do a callWithRetries Result[] rrs = caller.callWithoutRetries(callable, scannerTimeout); if (currentRegion == null && updateCurrentRegion) { currentRegion = callable.getHRegionInfo(); } return rrs; }
this.currentRegion = callable.getHRegionInfo();
private Result[] call(ScannerCallableWithReplicas callable, RpcRetryingCaller<Result[]> caller, int scannerTimeout, boolean updateCurrentRegion) throws IOException { if (Thread.interrupted()) { throw new InterruptedIOException(); } // callWithoutRetries is at this layer. Within the ScannerCallableWithReplicas, // we do a callWithRetries Result[] rrs = caller.callWithoutRetries(callable, scannerTimeout); if (currentRegion == null && updateCurrentRegion) { currentRegion = callable.getHRegionInfo(); } return rrs; }
this.currentRegion = callable.getHRegionInfo();
private Result[] call(ScannerCallableWithReplicas callable, RpcRetryingCaller<Result[]> caller, int scannerTimeout, boolean updateCurrentRegion) throws IOException { if (Thread.interrupted()) { throw new InterruptedIOException(); } // callWithoutRetries is at this layer. Within the ScannerCallableWithReplicas, // we do a callWithRetries Result[] rrs = caller.callWithoutRetries(callable, scannerTimeout); if (currentRegion == null && updateCurrentRegion) { currentRegion = callable.getHRegionInfo(); } return rrs; }
this.currentRegion = smallScanCallable.getHRegionInfo(); long currentTime = System.currentTimeMillis(); if (this.scanMetrics != null) {
this.currentRegion = smallScanCallable.getHRegionInfo(); long currentTime = System.currentTimeMillis(); if (this.scanMetrics != null) {
this.currentRegion = callable.getHRegionInfo(); continue;
this.currentRegion = callable.getHRegionInfo();
this.currentRegion = callable.getHRegionInfo(); if (this.scanMetrics != null) { this.scanMetrics.countOfRegions.incrementAndGet();
this.currentRegion = callable.getHRegionInfo(); if (this.scanMetrics != null) { this.scanMetrics.countOfRegions.incrementAndGet();