org.apache.accumulo.server.tabletserver.metrics
Class TabletServerScanMetrics

java.lang.Object
  extended by org.apache.accumulo.server.metrics.AbstractMetricsImpl
      extended by org.apache.accumulo.server.tabletserver.metrics.TabletServerScanMetrics
All Implemented Interfaces:
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
static java.lang.String METRICS_PREFIX
           
static javax.management.ObjectName OBJECT_NAME
           
 
Fields inherited from interface org.apache.accumulo.server.tabletserver.metrics.TabletServerScanMetricsMBean
resultSize, scan
 
Constructor Summary
TabletServerScanMetrics()
           
 
Method Summary
protected  java.lang.String getMetricsPrefix()
           
protected  javax.management.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, getMetric, getMetricAvg, getMetricCount, getMetricMax, getMetricMin, isEnabled, register, register
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METRICS_PREFIX

public static final java.lang.String METRICS_PREFIX
See Also:
Constant Field Values

OBJECT_NAME

public static javax.management.ObjectName OBJECT_NAME
Constructor Detail

TabletServerScanMetrics

public TabletServerScanMetrics()
Method Detail

getObjectName

protected javax.management.ObjectName getObjectName()
Specified by:
getObjectName in class AbstractMetricsImpl

getMetricsPrefix

protected java.lang.String getMetricsPrefix()
Specified by:
getMetricsPrefix in class AbstractMetricsImpl

getResultAvgSize

public long getResultAvgSize()
Specified by:
getResultAvgSize in interface TabletServerScanMetricsMBean

getResultCount

public long getResultCount()
Specified by:
getResultCount in interface TabletServerScanMetricsMBean

getResultMaxSize

public long getResultMaxSize()
Specified by:
getResultMaxSize in interface TabletServerScanMetricsMBean

getResultMinSize

public long getResultMinSize()
Specified by:
getResultMinSize in interface TabletServerScanMetricsMBean

getScanAvgTime

public long getScanAvgTime()
Specified by:
getScanAvgTime in interface TabletServerScanMetricsMBean

getScanCount

public long getScanCount()
Specified by:
getScanCount in interface TabletServerScanMetricsMBean

getScanMaxTime

public long getScanMaxTime()
Specified by:
getScanMaxTime in interface TabletServerScanMetricsMBean

getScanMinTime

public long getScanMinTime()
Specified by:
getScanMinTime in interface TabletServerScanMetricsMBean

reset

public void reset()
Specified by:
reset in interface TabletServerScanMetricsMBean


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.