Class GenericPVMetricsReport<T extends Number>
- java.lang.Object
-
- org.epics.archiverappliance.engine.bpl.reports.GenericPVMetricsReport<T>
-
- All Implemented Interfaces:
BPLAction
public class GenericPVMetricsReport<T extends Number> extends Object implements BPLAction
We collect many metrics during archiving in the PVMetrics objects. Most of these are doubles/longs. We should be able to report on these metrics using a generic framework. This is the superclass for such a framework. Subclass this and then register the subclass in the BPL...- Author:
- mshankar
-
-
Constructor Summary
Constructors Constructor Description GenericPVMetricsReport(Function<PVMetrics,T> getFn, String metricName)
-
Method Summary
Modifier and Type Method Description void
execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService)
-
-
-
Method Detail
-
execute
public void execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ConfigService configService) throws IOException
- Specified by:
execute
in interfaceBPLAction
- Throws:
IOException
-
-