Interface StatisticsService

  • All Known Implementing Classes:
    DefaultStatisticsService

    public interface StatisticsService
    Interface for StatisticsService.
    • Method Detail

      • addCollector

        boolean addCollector​(BasicStatisticsCollector collector)
        Adds the StatisticsCollector collector to the StatisticsService.
        Parameters:
        collector - The StatisticsCollector to add to the StatisticsSerice.
        Returns:
        boolean Indicating, if Adding was successful.
      • removeCollector

        boolean removeCollector​(java.lang.String name)
        Removes the StatisticsCollector identified by name to the StatisticsService.
        Parameters:
        name - The name of the new StatisticsService to remove.
        Returns:
        boolean Indicating, if Removal was successful.
      • addChart

        boolean addChart​(StatisticsChart chart)
        Adds all StatisticsCollectors in StatisticsChart chart to the StatisticsService.
        Parameters:
        chart - The StatisticsChart containing the collectors that should be add.
        Returns:
        boolean Indicating, if Adding was successful.
      • removeChart

        boolean removeChart​(java.lang.String name)
        Removes all StatisticsCollectors contained in StatisticsChart identified by name.
        Parameters:
        name - The name of the StatisticsChart containing the StatisticsCollectors to remove.
        Returns:
        boolean Indicating, if Removal was successful.