net.sf.bloof.metrics
Class MetricRegistry

java.lang.Object
  |
  +--net.sf.bloof.metrics.MetricRegistry

public class MetricRegistry
extends java.lang.Object

Registry for available Metrics and Filters

Version:
$Id: MetricRegistry.java,v 1.8 2003/09/29 17:24:02 pekacki Exp $
Author:
Lukasz Pekacki

Constructor Summary
MetricRegistry()
           
 
Method Summary
static Metric createMetric(java.lang.String aName)
          Creates a metric
static java.util.Iterator getAvailableMetricNames()
          Returns the availabe Metrics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricRegistry

public MetricRegistry()
Method Detail

createMetric

public static Metric createMetric(java.lang.String aName)
Creates a metric

Parameters:
aName - type of metric
Returns:
metric

getAvailableMetricNames

public static java.util.Iterator getAvailableMetricNames()
Returns the availabe Metrics

Returns:
array of metrics that are currently available


Copyright © 2003 bloof@Sourceforge. All Rights Reserved.