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.MetaClass
getMetricClass
(String metricName) getProperty
(String property) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Field Details
-
METRIC_CLASSES
-
-
Constructor Details
-
DefaultMetricRegistry
public DefaultMetricRegistry()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getMetricClass
- Specified by:
getMetricClass
in interfaceMetricRegistry
-
getAllMetricNames
- Specified by:
getAllMetricNames
in interfaceMetricRegistry
-