public class CachePublicMetrics extends Object implements PublicMetrics
PublicMetrics
implementation that provides cache statistics.Constructor and Description |
---|
CachePublicMetrics()
Deprecated.
as of 1.5.4 in favor of
CachePublicMetrics(Map, Collection) |
CachePublicMetrics(Map<String,CacheManager> cacheManagers,
Collection<CacheStatisticsProvider<?>> statisticsProviders)
Create a new
CachePublicMetrics instance. |
Modifier and Type | Method and Description |
---|---|
Collection<Metric<?>> |
metrics()
Return an indication of current state through metrics.
|
@Deprecated public CachePublicMetrics()
CachePublicMetrics(Map, Collection)
CachePublicMetrics
instance.public CachePublicMetrics(Map<String,CacheManager> cacheManagers, Collection<CacheStatisticsProvider<?>> statisticsProviders)
CachePublicMetrics
instance.cacheManagers
- the cache managersstatisticsProviders
- the statistics providerspublic Collection<Metric<?>> metrics()
PublicMetrics
metrics
in interface PublicMetrics
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.