クラス MicrometerHolder
java.lang.ObjectSE
org.springframework.kafka.support.micrometer.MicrometerHolder
クラスパスで使用可能な場合の micrometer タイマーのラッパー。
- 導入:
- 2.5
- 作成者:
- Gary Russell
コンストラクター概要
コンストラクターコンストラクター説明MicrometerHolder(@Nullable ApplicationContext context, StringSE name, StringSE timerName, StringSE timerDesc, FunctionSE<@Nullable ObjectSE, MapSE<StringSE, StringSE>> tagsProvider) 提供されたプロパティでインスタンスを作成します。方法の概要
コンストラクターの詳細
MicrometerHolder
public MicrometerHolder(@Nullable ApplicationContext context, StringSE name, StringSE timerName, StringSE timerDesc, FunctionSE<@Nullable ObjectSE, MapSE<StringSE, StringSE>> tagsProvider) 提供されたプロパティでインスタンスを作成します。- パラメーター:
context- メーターレジストリを取得するアプリケーションコンテキスト。name- 'name' タグの値。timerName- タイマー名。timerDesc- タイマーの説明。tagsProvider- タグプロバイダー。- 導入:
- 2.9.7
方法の詳細
start
success
failure
success
failure
destroy
public void destroy()タイマーを削除します。