Package org.aksw.iguana.rp.metrics
Class MetricManager
- java.lang.Object
-
- org.aksw.iguana.rp.metrics.MetricManager
-
public class MetricManager extends java.lang.Object
The MetricManager will manage allMetric
- Author:
- f.conrads
-
-
Constructor Summary
Constructors Constructor Description MetricManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMetaData(java.util.Properties metaData)
Will add the meta Data to all metricsvoid
addMetric(Metric metric)
WIll add a metric to the managervoid
addMetrics(java.util.List<Metric> metrics)
void
close()
Will close all metricsstatic MetricManager
getInstance()
java.util.Set<Metric>
getMetrics()
void
receiveData(java.util.Properties p)
This will message the received properties to all defined metrics.java.lang.String
toString()
-
-
-
Method Detail
-
getInstance
public static MetricManager getInstance()
-
addMetric
public void addMetric(Metric metric)
WIll add a metric to the manager- Parameters:
metric
-
-
getMetrics
public java.util.Set<Metric> getMetrics()
-
addMetaData
public void addMetaData(java.util.Properties metaData)
Will add the meta Data to all metrics- Parameters:
metaData
-
-
receiveData
public void receiveData(java.util.Properties p)
This will message the received properties to all defined metrics.- Parameters:
p
-
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
close
public void close()
Will close all metrics
-
addMetrics
public void addMetrics(java.util.List<Metric> metrics)
-
-