Groovy Documentation

org.gmetrics.metricset
Class CompositeMetricSet

java.lang.Object
  org.gmetrics.metricset.CompositeMetricSet

class CompositeMetricSet

A MetricSet implementation that aggregates a set of MetricSets and Metrics.

author:
Chris Mair
version:
$Revision: 85 $ - $Date: 2010-02-26 21:51:52 -0500 (Fri, 26 Feb 2010) $


Constructor Summary
CompositeMetricSet()

 
Method Summary
void addMetric(Metric metric)

Add a single Metric to this MetricSet

void addMetricSet(MetricSet metricSet)

Add all of the Metrics within the specified MetricSet to this MetricSet

List getMetrics()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

CompositeMetricSet

CompositeMetricSet()


 
Method Detail

addMetric

void addMetric(Metric metric)
Add a single Metric to this MetricSet
param:
metric - the Metric to add


addMetricSet

void addMetricSet(MetricSet metricSet)
Add all of the Metrics within the specified MetricSet to this MetricSet
param:
metricSet - the MetricSet whose Metrics are to be included


getMetrics

List getMetrics()
return:
a List of Metric objects. The returned List is immutable.


 

Groovy Documentation