Interface RemoteCacheManagerMetricsRegistry
- All Superinterfaces:
HotRodClientMetricsRegistry
- All Known Implementing Classes:
MicrometerRemoteCacheManagerMetricsRegistry
Hot Rod client entrypoint.
All metrics registered in this instance are considered global to the client. Per cache metrics are registered using
withCache(String)
, where the cache's name is used to distinct the metrics. The implementation is responsible
to separate each cache metric, because all caches register the same set of metrics (reads, writes, etc.).
- Since:
- 15.1
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
removeCache
(String cacheName) Removes and unregister all cache related metrics.Returns aHotRodClientMetricsRegistry
to be used to register a remote cache metrics.Methods inherited from interface org.infinispan.client.hotrod.metrics.HotRodClientMetricsRegistry
close, createCounter, createDistributionSummery, createGauge, createTimeGauge, createTimer, removeMetric
-
Field Details
-
DISABLED
-
-
Method Details
-
withCache
Returns aHotRodClientMetricsRegistry
to be used to register a remote cache metrics.- Parameters:
cacheName
- The cache's name.- Returns:
- The
HotRodClientMetricsRegistry
implementation to use.
-
removeCache
Removes and unregister all cache related metrics.- Parameters:
cacheName
- The cache's name.
-