クラス PropertiesAutoTimer

java.lang.ObjectSE
org.springframework.boot.data.autoconfigure.metrics.PropertiesAutoTimer
実装済みのインターフェース一覧:
AutoTimer

public class PropertiesAutoTimer extends ObjectSE implements AutoTimer
DataMetricsProperties.Repository.Autotime プロパティによって動作が構成される AutoTimer
導入:
4.0.0
作成者:
Andy Wilkinson
  • コンストラクターの詳細

    • PropertiesAutoTimer

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

    • apply

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

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