Class StatsLoggerService

java.lang.Object
org.saidone.service.StatsLoggerService

@ConditionalOnProperty(prefix="application.stats-service", name="enabled", havingValue="true") @Service public class StatsLoggerService extends Object
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