Package ch.tocco.nice2.metrics.impl
Class SystemActivityServiceImpl
java.lang.Object
ch.tocco.nice2.metrics.impl.SystemActivityServiceImpl
- All Implemented Interfaces:
SystemActivityService
-
Constructor Summary
ConstructorDescriptionSystemActivityServiceImpl
(Context context, BusinessUnitManager businessUnitManager, CommandExecutor commandExecutor, RunEnvironmentService runEnvironmentService) -
Method Summary
Modifier and TypeMethodDescriptionsave
(MetricsData data) void
setMinExecutionMillis
(long minExecutionMillis) void
setMinQueryCount
(long minQueryCount)
-
Constructor Details
-
SystemActivityServiceImpl
public SystemActivityServiceImpl(@Lazy Context context, @Lazy BusinessUnitManager businessUnitManager, @Lazy CommandExecutor commandExecutor, RunEnvironmentService runEnvironmentService)
-
-
Method Details
-
setMinQueryCount
@Value("${nice2.metrics.minQueryCount}") public void setMinQueryCount(long minQueryCount) -
setMinExecutionMillis
@Value("${nice2.metrics.minExecutionMillis}") public void setMinExecutionMillis(long minExecutionMillis) -
save
- Specified by:
save
in interfaceSystemActivityService
-