Class SmartExecutorStatistics

java.lang.Object
org.gcube.vremanagement.executor.statistics.SmartExecutorStatistics
All Implemented Interfaces:
org.gcube.common.health.api.Statistics

public class SmartExecutorStatistics extends Object implements org.gcube.common.health.api.Statistics
The public statistics of the Smart Executor: the plugins installed on the node, the scheduled tasks and the executions of the plugins, as totals only. SmartGears computes the group in the Context the node publishes from, the only one where the Smart Executor runs, and serves it with no token.
Author:
Luca Frosini (ISTI-CNR)
  • Constructor Details

    • SmartExecutorStatistics

      public SmartExecutorStatistics()
  • 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