クラス PropertiesAutoTimer

java.lang.ObjectSE
org.springframework.boot.actuate.autoconfigure.metrics.PropertiesAutoTimer
実装されたすべてのインターフェース:
AutoTimer

public class PropertiesAutoTimer extends ObjectSE implements AutoTimer
AutoTimeProperties によって動作が設定される AutoTimer
導入:
3.0.0
作成者:
Andy Wilkinson
  • フィールドサマリー

    インターフェース org.springframework.boot.actuate.metrics.AutoTimer から継承されたフィールド

    DISABLED, ENABLED
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    指定された properties を使用して構成された新しい PropertiesAutoTimer を作成します。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    apply(io.micrometer.core.instrument.Timer.Builder builder)
    指定された Timer.Builder に自動タイマー設定を適用するために呼び出されます。
    boolean
    自動タイマーが有効で、メトリクスを記録する必要があるかどうかを返します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE

    インターフェース org.springframework.boot.actuate.metrics.AutoTimer から継承されたメソッド

    builder, builder
  • コンストラクターの詳細

    • PropertiesAutoTimer

      public PropertiesAutoTimer(AutoTimeProperties properties)
      指定された properties を使用して構成された新しい PropertiesAutoTimer を作成します。
      パラメーター:
      properties - 自動タイミングを設定するためのプロパティ
  • メソッドの詳細

    • apply

      public void apply(io.micrometer.core.instrument.Timer.Builder builder)
      インターフェースからコピーされた説明: AutoTimer
      指定された Timer.Builder に自動タイマー設定を適用するために呼び出されます。
      次で指定:
      インターフェース AutoTimerapply 
      パラメーター:
      builder - 設定を適用するビルダー
    • isEnabled

      public boolean isEnabled()
      インターフェースからコピーされた説明: AutoTimer
      自動タイマーが有効で、メトリクスを記録する必要があるかどうかを返します。
      次で指定:
      インターフェース AutoTimerisEnabled 
      戻り値:
      自動タイマーが有効になっている場合