Package org.saidone.service
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 Summary
Constructors -
Method Summary
Methods inherited from class org.saidone.component.BaseComponent
setApplicationContext, shutDown, start, stop
-
Constructor Details
-
StatsLoggerService
public StatsLoggerService()
-
-
Method Details
-
run
Starts the logger service on application startup.- Returns:
- future representing the asynchronous logging task
-