Package ch.tocco.nice2.metrics.impl.task
Class MetricsCommandListener
java.lang.Object
ch.tocco.nice2.metrics.impl.task.MetricsCommandListener
- All Implemented Interfaces:
CommandServiceListener
This service is eagerly loaded at startup and observes
all tasks executed by the
CommandService
and collects
metrics if necessary.-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.api.exec.CommandServiceListener
CommandServiceListener.PersistFutureTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.CommandServiceListener
taskFinished
-
Constructor Details
-
MetricsCommandListener
-
-
Method Details
-
taskStarted
- Specified by:
taskStarted
in interfaceCommandServiceListener
-