@InterfaceAudience.Private public abstract class AbstractClientScanner extends Object implements ResultScanner
| Modifier and Type | Field and Description |
|---|---|
protected ScanMetrics |
scanMetrics |
| Constructor and Description |
|---|
AbstractClientScanner() |
| Modifier and Type | Method and Description |
|---|---|
ScanMetrics |
getScanMetrics()
Used internally accumulating metrics on scan.
|
protected void |
initScanMetrics(Scan scan)
Check and initialize if application wants to collect scan metrics
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, iterator, next, next, renewLeaseforEach, spliteratorprotected ScanMetrics scanMetrics
public AbstractClientScanner()
protected void initScanMetrics(Scan scan)
public ScanMetrics getScanMetrics()
Scan.setScanMetricsEnabled(boolean).getScanMetrics in interface ResultScannerScanMetrics instance or null if scan metrics not enabled.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.