Package eu.dnetlib.broker.common.metrics
Class MetricsCacheUtils
java.lang.Object
eu.dnetlib.broker.common.metrics.MetricsCacheUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubledoubledoubledoublevoiddouble
-
Field Details
-
metrics_cache
- See Also:
-
-
Constructor Details
-
MetricsCacheUtils
public MetricsCacheUtils()
-
-
Method Details
-
reportCacheEvict
@Scheduled(fixedDelay=43200000L, initialDelay=500L) @CacheEvict(allEntries=true, value="broker_metrics_cache") public void reportCacheEvict() -
totalEvents
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double totalEvents() -
countDatasourcesWithEvents
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countDatasourcesWithEvents() -
countNotifications
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countNotifications() -
countSuggestionNotifications
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countSuggestionNotifications() -
countAlertNotifications
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countAlertNotifications() -
countSubscriptions
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countSubscriptions() -
countSubscribers
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countSubscribers() -
lastUpdateInSeconds
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double lastUpdateInSeconds() -
countDatasourcesWithSubscriptions
@Cacheable(value="broker_metrics_cache", key="#root.methodName") public double countDatasourcesWithSubscriptions()
-