Class TabletServerScanMetrics
- java.lang.Object
-
- org.apache.accumulo.server.metrics.AbstractMetricsImpl
-
- org.apache.accumulo.tserver.metrics.TabletServerScanMetrics
-
- All Implemented Interfaces:
Metrics
,TabletServerScanMetricsKeys
,TabletServerScanMetricsMBean
public class TabletServerScanMetrics extends AbstractMetricsImpl implements TabletServerScanMetricsMBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.server.metrics.AbstractMetricsImpl
AbstractMetricsImpl.Metric
-
-
Field Summary
Fields Modifier and Type Field Description static String
METRICS_PREFIX
-
Fields inherited from interface org.apache.accumulo.server.metrics.Metrics
MASTER_NAME, PREFIX, THRIFT_NAME, TSERVER_NAME
-
Fields inherited from interface org.apache.accumulo.tserver.metrics.TabletServerScanMetricsKeys
RESULT_SIZE, SCAN, YIELD
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getMetricsPrefix()
protected ObjectName
getObjectName()
long
getResultAvgSize()
long
getResultCount()
long
getResultMaxSize()
long
getResultMinSize()
long
getScanAvgTime()
long
getScanCount()
long
getScanMaxTime()
long
getScanMinTime()
void
reset()
-
Methods inherited from class org.apache.accumulo.server.metrics.AbstractMetricsImpl
add, createMetric, finalize, getMetricAvg, getMetricCount, getMetricMax, getMetricMin, isEnabled, register, register
-
-
-
-
Field Detail
-
METRICS_PREFIX
public static final String METRICS_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectName
protected ObjectName getObjectName()
- Specified by:
getObjectName
in classAbstractMetricsImpl
-
getMetricsPrefix
protected String getMetricsPrefix()
- Specified by:
getMetricsPrefix
in classAbstractMetricsImpl
-
getResultAvgSize
public long getResultAvgSize()
- Specified by:
getResultAvgSize
in interfaceTabletServerScanMetricsMBean
-
getResultCount
public long getResultCount()
- Specified by:
getResultCount
in interfaceTabletServerScanMetricsMBean
-
getResultMaxSize
public long getResultMaxSize()
- Specified by:
getResultMaxSize
in interfaceTabletServerScanMetricsMBean
-
getResultMinSize
public long getResultMinSize()
- Specified by:
getResultMinSize
in interfaceTabletServerScanMetricsMBean
-
getScanAvgTime
public long getScanAvgTime()
- Specified by:
getScanAvgTime
in interfaceTabletServerScanMetricsMBean
-
getScanCount
public long getScanCount()
- Specified by:
getScanCount
in interfaceTabletServerScanMetricsMBean
-
getScanMaxTime
public long getScanMaxTime()
- Specified by:
getScanMaxTime
in interfaceTabletServerScanMetricsMBean
-
getScanMinTime
public long getScanMinTime()
- Specified by:
getScanMinTime
in interfaceTabletServerScanMetricsMBean
-
reset
public void reset()
- Specified by:
reset
in interfaceTabletServerScanMetricsMBean
-
-