com.jeantessier.metrics
Class SubMetricsAccumulatorMeasurement
java.lang.Object
|
+--com.jeantessier.metrics.MeasurementBase
|
+--com.jeantessier.metrics.AccumulatorMeasurement
|
+--com.jeantessier.metrics.SubMetricsAccumulatorMeasurement
- All Implemented Interfaces:
- CollectionMeasurement, Measurement
- public class SubMetricsAccumulatorMeasurement
- extends AccumulatorMeasurement
Accumulates entries in submetrics, filtering with regular
expressions. If no regular expressions are given, matches
everything for the given measurement, which must implement
the CollectionMeasurement interface. Regular
expressions matching using Perl5Util from
Jakarta-ORO. This measurement will use
Perl5Util.group(1) if not null, otherwise the
full string.
This is the syntax for initializing this type of
measurement:
<init>
measurement name [perl regular expression]
...
</init>
| Methods inherited from class com.jeantessier.metrics.MeasurementBase |
add, add, add, add, add, doubleValue, floatValue, getContext, getDescriptor, getLongName, getShortName, intValue, isCached, isInRange, longValue, perl, setCached, setEmpty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jeantessier.metrics.Measurement |
add, add, add, add, add, doubleValue, floatValue, getContext, getDescriptor, getLongName, getShortName, intValue, isInRange, longValue |
SubMetricsAccumulatorMeasurement
public SubMetricsAccumulatorMeasurement(MeasurementDescriptor descriptor,
Metrics context,
java.lang.String initText)
accept
public void accept(MeasurementVisitor visitor)
populateValues
protected void populateValues()
- Overrides:
populateValues in class AccumulatorMeasurement
Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.