Class ScanMetricsRegionInfo
java.lang.Object
org.apache.hadoop.hbase.client.metrics.ScanMetricsRegionInfo
POJO for capturing region level details when region level scan metrics are enabled.
Currently, encoded region name and server name (host name, ports and startcode) are captured as region details.
Instance of this class serves as key in the Map returned by
Currently, encoded region name and server name (host name, ports and startcode) are captured as region details.
Instance of this class serves as key in the Map returned by
ServerSideScanMetrics.collectMetricsByRegion()
or
ServerSideScanMetrics.collectMetricsByRegion(boolean)
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScanMetricsRegionInfo
Users should only compare against this constant by reference and should not make any assumptions regarding content of the constant.private final String
private final ServerName
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EMPTY_SCAN_METRICS_REGION_INFO
Users should only compare against this constant by reference and should not make any assumptions regarding content of the constant. -
encodedRegionName
-
serverName
-
-
Constructor Details
-
ScanMetricsRegionInfo
ScanMetricsRegionInfo(String encodedRegionName, ServerName serverName)
-
-
Method Details