Class CoverageStatistics

java.lang.Object
org.gcube.accounting.service.statistics.CoverageStatistics
All Implemented Interfaces:
org.gcube.common.health.api.Statistics

public class CoverageStatistics extends Object implements org.gcube.common.health.api.Statistics
The coverage group of the public statistics: how many services and nodes the accounting has records of, and the calls by year. It scans the whole table of the calls, so it is computed every hour.
Author:
Luca Frosini (ISTI - CNR)
  • Constructor Details

    • CoverageStatistics

      public CoverageStatistics()
  • Method Details

    • id

      public String id()
      Specified by:
      id in interface org.gcube.common.health.api.Statistics
    • title

      public String title()
      Specified by:
      title in interface org.gcube.common.health.api.Statistics
    • description

      public String description()
      Specified by:
      description in interface org.gcube.common.health.api.Statistics
    • refresh

      public Duration refresh()
      Specified by:
      refresh in interface org.gcube.common.health.api.Statistics
    • compute

      public List<org.gcube.common.health.api.Figure> compute() throws Exception
      Specified by:
      compute in interface org.gcube.common.health.api.Statistics
      Throws:
      Exception