Package ch.tocco.nice2.metrics.impl.task
Class MetricsCommandListener
java.lang.Object
ch.tocco.nice2.metrics.impl.task.MetricsCommandListener
- All Implemented Interfaces:
- CommandServiceListener
@Component
@ConditionalOnProperty(value="ch.tocco.nice2.enableUpgradeMode",
                       havingValue="false",
                       matchIfMissing=true)
public class MetricsCommandListener
extends Object
implements CommandServiceListener
This service is eagerly loaded at startup and observes
 all tasks executed by the 
CommandService and collects
 metrics if necessary.- 
Nested Class SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.api.exec.CommandServiceListenerCommandServiceListener.PersistFutureTask
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.CommandServiceListenertaskFinished
- 
Constructor Details- 
MetricsCommandListener
 
- 
- 
Method Details- 
taskStarted- Specified by:
- taskStartedin interface- CommandServiceListener
 
 
-