Interface MetricsWriter
-
- All Known Implementing Classes:
MetricsWriterImpl
public interface MetricsWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite()Write all the registered metricsvoidwrite(org.eclipse.microprofile.metrics.MetricRegistry.Type scope)Write the metrics that registered for the respective scope.voidwrite(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, String metricName)Write the metrics that matches the metricName for the respective scope.
-
-
-
Method Detail
-
write
void write(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, String metricName) throws NoSuchRegistryException, NoSuchMetricException, IOExceptionWrite the metrics that matches the metricName for the respective scope.- Parameters:
scope-metricName-- Throws:
NoSuchRegistryExceptionNoSuchMetricExceptionIOException
-
write
void write(org.eclipse.microprofile.metrics.MetricRegistry.Type scope) throws NoSuchRegistryException, IOExceptionWrite the metrics that registered for the respective scope.- Parameters:
scope-- Throws:
NoSuchRegistryExceptionIOException
-
write
void write() throws IOExceptionWrite all the registered metrics- Throws:
IOException
-
-