Interface StatisticsCoordinator
public interface StatisticsCoordinator
Register or unregister statistics providers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProvider(StatisticsProvider provider) Add the given provider to the list of active providers.voidaddWriter(StatisticsWriter writer) Add a new writer instancevoidremoveProvider(StatisticsProvider provider) Remove the given provider from the list of active providers.voidremoveWriter(String id) Remove a writer
-
Method Details
-
addProvider
Add the given provider to the list of active providers.- Parameters:
provider- The provider to add.
-
removeProvider
Remove the given provider from the list of active providers.- Parameters:
provider- The provider to remove.
-
addWriter
Add a new writer instance- Parameters:
writer- the writer instance
-
removeWriter
Remove a writer- Parameters:
id- the writer's ID
-