Package org.gmetrics.metricregistry
Class DefaultMetricRegistry
java.lang.Object
org.gmetrics.metricregistry.DefaultMetricRegistry
- All Implemented Interfaces:
groovy.lang.GroovyObject,MetricRegistry
public class DefaultMetricRegistry
extends Object
implements MetricRegistry, groovy.lang.GroovyObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassgetMetricClass(String metricName) getProperty(String property) invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value)
-
Field Details
-
METRIC_CLASSES
-
-
Constructor Details
-
DefaultMetricRegistry
public DefaultMetricRegistry()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getMetricClass
- Specified by:
getMetricClassin interfaceMetricRegistry
-
getAllMetricNames
- Specified by:
getAllMetricNamesin interfaceMetricRegistry
-