org.apache.accumulo.server.logger.metrics
Class LogWriterMetrics

java.lang.Object
  extended by org.apache.accumulo.server.metrics.AbstractMetricsImpl
      extended by org.apache.accumulo.server.logger.metrics.LogWriterMetrics
All Implemented Interfaces:
LogWriterMetricsMBean

public class LogWriterMetrics
extends AbstractMetricsImpl
implements LogWriterMetricsMBean


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.server.metrics.AbstractMetricsImpl
AbstractMetricsImpl.Metric
 
Field Summary
 
Fields inherited from interface org.apache.accumulo.server.logger.metrics.LogWriterMetricsMBean
close, copy, create, logAppend, logException, logFlush
 
Constructor Summary
LogWriterMetrics()
           
 
Method Summary
 long getCloseAvgTime()
           
 long getCloseCount()
           
 long getCloseMaxTime()
           
 long getCloseMinTime()
           
 long getCopyAvgTime()
           
 long getCopyCount()
           
 long getCopyMaxTime()
           
 long getCopyMinTime()
           
 long getCreateAvgTime()
           
 long getCreateCount()
           
 long getCreateMaxTime()
           
 long getCreateMinTime()
           
 long getLogAppendAvgTime()
           
 long getLogAppendCount()
           
 long getLogAppendMaxTime()
           
 long getLogAppendMinTime()
           
 long getLogExceptionCount()
           
 long getLogFlushAvgTime()
           
 long getLogFlushCount()
           
 long getLogFlushMaxTime()
           
 long getLogFlushMinTime()
           
protected  String getMetricsPrefix()
           
protected  ObjectName getObjectName()
           
 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
 

Constructor Detail

LogWriterMetrics

public LogWriterMetrics()
Method Detail

getObjectName

protected ObjectName getObjectName()
Specified by:
getObjectName in class AbstractMetricsImpl

getMetricsPrefix

protected String getMetricsPrefix()
Specified by:
getMetricsPrefix in class AbstractMetricsImpl

reset

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

getCloseAvgTime

public long getCloseAvgTime()
Specified by:
getCloseAvgTime in interface LogWriterMetricsMBean

getCloseCount

public long getCloseCount()
Specified by:
getCloseCount in interface LogWriterMetricsMBean

getCloseMaxTime

public long getCloseMaxTime()
Specified by:
getCloseMaxTime in interface LogWriterMetricsMBean

getCloseMinTime

public long getCloseMinTime()
Specified by:
getCloseMinTime in interface LogWriterMetricsMBean

getCopyAvgTime

public long getCopyAvgTime()
Specified by:
getCopyAvgTime in interface LogWriterMetricsMBean

getCopyCount

public long getCopyCount()
Specified by:
getCopyCount in interface LogWriterMetricsMBean

getCopyMaxTime

public long getCopyMaxTime()
Specified by:
getCopyMaxTime in interface LogWriterMetricsMBean

getCopyMinTime

public long getCopyMinTime()
Specified by:
getCopyMinTime in interface LogWriterMetricsMBean

getCreateAvgTime

public long getCreateAvgTime()
Specified by:
getCreateAvgTime in interface LogWriterMetricsMBean

getCreateCount

public long getCreateCount()
Specified by:
getCreateCount in interface LogWriterMetricsMBean

getCreateMaxTime

public long getCreateMaxTime()
Specified by:
getCreateMaxTime in interface LogWriterMetricsMBean

getCreateMinTime

public long getCreateMinTime()
Specified by:
getCreateMinTime in interface LogWriterMetricsMBean

getLogAppendAvgTime

public long getLogAppendAvgTime()
Specified by:
getLogAppendAvgTime in interface LogWriterMetricsMBean

getLogAppendCount

public long getLogAppendCount()
Specified by:
getLogAppendCount in interface LogWriterMetricsMBean

getLogAppendMaxTime

public long getLogAppendMaxTime()
Specified by:
getLogAppendMaxTime in interface LogWriterMetricsMBean

getLogAppendMinTime

public long getLogAppendMinTime()
Specified by:
getLogAppendMinTime in interface LogWriterMetricsMBean

getLogFlushAvgTime

public long getLogFlushAvgTime()
Specified by:
getLogFlushAvgTime in interface LogWriterMetricsMBean

getLogFlushCount

public long getLogFlushCount()
Specified by:
getLogFlushCount in interface LogWriterMetricsMBean

getLogFlushMaxTime

public long getLogFlushMaxTime()
Specified by:
getLogFlushMaxTime in interface LogWriterMetricsMBean

getLogFlushMinTime

public long getLogFlushMinTime()
Specified by:
getLogFlushMinTime in interface LogWriterMetricsMBean

getLogExceptionCount

public long getLogExceptionCount()
Specified by:
getLogExceptionCount in interface LogWriterMetricsMBean


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