クラス HealthEndpoint
java.lang.ObjectSE
org.springframework.boot.actuate.health.HealthEndpoint
アプリケーションのヘルス情報を公開する
@Endpoint
。- 導入:
- 2.0.0
- 作成者:
- Dave Syer, Christian Dupuis, Andy Wilkinson, Stephane Nicoll, Scott Frederick
フィールドサマリー
フィールドコンストラクターのサマリー
コンストラクターコンストラクター説明HealthEndpoint
(HealthContributorRegistry registry, HealthEndpointGroups groups, DurationSE slowIndicatorLoggingThreshold) 新しいHealthEndpoint
インスタンスを作成します。方法の概要
修飾子と型メソッド説明protected HealthComponent
aggregateContributions
(ApiVersion apiVersion, MapSE<StringSE, HealthComponent> contributions, StatusAggregator statusAggregator, boolean showComponents, SetSE<StringSE> groupNames) protected final CompositeHealth
getCompositeHealth
(ApiVersion apiVersion, MapSE<StringSE, HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, SetSE<StringSE> groupNames) protected HealthComponent
getHealth
(HealthContributor contributor, boolean includeDetails) health()
healthForPath
(StringSE... path)
フィールドの詳細
ID
ヘルスエンドポイント ID。
コンストラクターの詳細
HealthEndpoint
public HealthEndpoint(HealthContributorRegistry registry, HealthEndpointGroups groups, DurationSE slowIndicatorLoggingThreshold) 新しいHealthEndpoint
インスタンスを作成します。- パラメーター:
registry
- ヘルスコントリビューター登録groups
- ヘルスエンドポイントグループslowIndicatorLoggingThreshold
- 遅いヘルスインジケーターのログが発生するまでの期間- 導入:
- 2.6.9
メソッドの詳細
health
healthForPath
@ReadOperation public HealthComponent healthForPath(@Selector(match=ALL_REMAINING) StringSE... path) getHealth
aggregateContributions
protected HealthComponent aggregateContributions(ApiVersion apiVersion, MapSE<StringSE, HealthComponent> contributions, StatusAggregator statusAggregator, boolean showComponents, SetSE<StringSE> groupNames) getCompositeHealth
protected final CompositeHealth getCompositeHealth(ApiVersion apiVersion, MapSE<StringSE, HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, SetSE<StringSE> groupNames)