Class StatsLoggerService

java.lang.Object
org.saidone.component.BaseComponent
org.saidone.service.StatsLoggerService
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@ConditionalOnProperty(prefix="application.stats-service", name="enabled", havingValue="true") @Service public class StatsLoggerService extends BaseComponent
Periodically logs statistics about queued and processed nodes.
  • Constructor Details

    • StatsLoggerService

      public StatsLoggerService()
  • Method Details

    • run

      @PostConstruct public CompletableFuture<Void> run()
      Starts the logger service on application startup.
      Returns:
      future representing the asynchronous logging task