Class CacheMetricsPublisher
java.lang.Object
com.levigo.jadice.web.server.config.metrics.CacheMetricsPublisher
A service to publish cache metrics via micrometer. Values are published every 5 seconds.
To enable the service, call CacheMetricsPublisher.start(). Multiple start is prevented.
-
Method Details
-
start
public static void start()May only be called once -
shutdown
public static void shutdown() -
shutdownAndWait
- Throws:
InterruptedException
-