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