public class CacheMetricsRegistrar extends ObjectSE
Cache を MeterRegistry に登録します。| コンストラクターと説明 |
|---|
CacheMetricsRegistrar(io.micrometer.core.instrument.MeterRegistry registry, CollectionSE<CacheMeterBinderProvider<?>> binderProviders) 新しいレジストラを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | bindCacheToRegistry(org.springframework.cache.Cache cache, io.micrometer.core.instrument.Tag... tags) 指定された Cache をレジストリにバインドしてみてください。 |
protected IterableSE<io.micrometer.core.instrument.Tag> | getAdditionalTags(org.springframework.cache.Cache cache) 指定された Cache に関連付けられる追加の tags を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic CacheMetricsRegistrar(io.micrometer.core.instrument.MeterRegistry registry,
CollectionSE<CacheMeterBinderProvider<?>> binderProviders)registry - 使用する MeterRegistry binderProviders - 互換性のあるキャッシュを検出するために使用する必要がある CacheMeterBinderProvider インスタンス public boolean bindCacheToRegistry(org.springframework.cache.Cache cache,
io.micrometer.core.instrument.Tag... tags)Cache をレジストリにバインドしてみてください。キャッシュがサポートされ、レジストリにバインドされている場合は true を返し、それ以外の場合は false を返します。cache - 処理するキャッシュ tags - そのキャッシュのメトリクスに関連付けるタグ cache がサポートされ、登録されている場合は true protected IterableSE<io.micrometer.core.instrument.Tag> getAdditionalTags(org.springframework.cache.Cache cache)
Cache に関連付けられる追加の tags を返します。cache - キャッシュ cache に関連付ける追加のタグのリスト。Copyright © 2019 Pivotal Software, Inc.. All rights reserved.