Class ThriftMetrics
- java.lang.Object
-
- org.apache.accumulo.server.metrics.AbstractMetricsImpl
-
- org.apache.accumulo.server.metrics.ThriftMetrics
-
- All Implemented Interfaces:
Metrics
,ThriftMetricsKeys
,ThriftMetricsMBean
public class ThriftMetrics extends AbstractMetricsImpl implements ThriftMetricsMBean
-
-
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.metrics.Metrics
MASTER_NAME, PREFIX, THRIFT_NAME, TSERVER_NAME
-
Fields inherited from interface org.apache.accumulo.server.metrics.ThriftMetricsKeys
execute, idle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getExecutionAvgTime()
long
getExecutionCount()
long
getExecutionMaxTime()
long
getExecutionMinTime()
long
getIdleAvgTime()
long
getIdleCount()
long
getIdleMaxTime()
long
getIdleMinTime()
protected String
getMetricsPrefix()
protected ObjectName
getObjectName()
void
reset()
-
Methods inherited from class org.apache.accumulo.server.metrics.AbstractMetricsImpl
add, createMetric, finalize, getMetricAvg, getMetricCount, getMetricMax, getMetricMin, isEnabled, register, register
-
-
-
-
Method Detail
-
getObjectName
protected ObjectName getObjectName()
- Specified by:
getObjectName
in classAbstractMetricsImpl
-
getMetricsPrefix
protected String getMetricsPrefix()
- Specified by:
getMetricsPrefix
in classAbstractMetricsImpl
-
reset
public void reset()
- Specified by:
reset
in interfaceThriftMetricsMBean
-
getExecutionAvgTime
public long getExecutionAvgTime()
- Specified by:
getExecutionAvgTime
in interfaceThriftMetricsMBean
-
getExecutionCount
public long getExecutionCount()
- Specified by:
getExecutionCount
in interfaceThriftMetricsMBean
-
getExecutionMaxTime
public long getExecutionMaxTime()
- Specified by:
getExecutionMaxTime
in interfaceThriftMetricsMBean
-
getExecutionMinTime
public long getExecutionMinTime()
- Specified by:
getExecutionMinTime
in interfaceThriftMetricsMBean
-
getIdleAvgTime
public long getIdleAvgTime()
- Specified by:
getIdleAvgTime
in interfaceThriftMetricsMBean
-
getIdleCount
public long getIdleCount()
- Specified by:
getIdleCount
in interfaceThriftMetricsMBean
-
getIdleMaxTime
public long getIdleMaxTime()
- Specified by:
getIdleMaxTime
in interfaceThriftMetricsMBean
-
getIdleMinTime
public long getIdleMinTime()
- Specified by:
getIdleMinTime
in interfaceThriftMetricsMBean
-
-