Class PromPushReporterComponent

  • Constructor Details

    • PromPushReporterComponent

      public PromPushReporterComponent(NBComponent parent, String endpoint, long intervalMs, NBLabels nbLabels, String prompushApikeyfile)
  • Method Details

    • task

      public void task()
      Description copied from class: UnstartedPeriodicTaskComponent
      This task should only do what is needed once each period. If it throws any exceptions, then these exceptions will cause the period task to exit. Thus, if you need to allow failures in some cases while keeping the caller (scheduler) active, all errors should be caught and handled internally.
      Specified by:
      task in class UnstartedPeriodicTaskComponent