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(String scope)Write the metrics that registered for the respective scope.voidwrite(String scope, String metricName)Write the metrics that matches the metricName for the respective scope.
-
-
-
Method Detail
-
write
void write(String scope, String metricName) throws NoSuchRegistryException, NoSuchMetricException, IOException
Write the metrics that matches the metricName for the respective scope.- Parameters:
scope-metricName-- Throws:
NoSuchRegistryExceptionNoSuchMetricExceptionIOException
-
write
void write(String scope) throws NoSuchRegistryException, IOException
Write the metrics that registered for the respective scope.- Parameters:
scope-- Throws:
NoSuchRegistryExceptionIOException
-
write
void write() throws IOExceptionWrite all the registered metrics- Throws:
IOException
-
-