Package org.saidone.service
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
StatsLoggerService
public StatsLoggerService()
-
-
Method Details
-
run
Starts the logger service on application startup.- Returns:
- future representing the asynchronous logging task
-