Interface MetricsWriter
-
- All Known Implementing Classes:
MetricsWriterImpl
public interface MetricsWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write()
Write all the registered metricsvoid
write(String scope)
Write the metrics that registered for the respective scope.void
write(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:
NoSuchRegistryException
NoSuchMetricException
IOException
-
write
void write(String scope) throws NoSuchRegistryException, IOException
Write the metrics that registered for the respective scope.- Parameters:
scope
-- Throws:
NoSuchRegistryException
IOException
-
write
void write() throws IOException
Write all the registered metrics- Throws:
IOException
-
-