クラス 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 HealthComponentaggregateContributions(ApiVersion apiVersion, MapSE<StringSE, HealthComponent> contributions, StatusAggregator statusAggregator, boolean showComponents, SetSE<StringSE> groupNames) protected final CompositeHealthgetCompositeHealth(ApiVersion apiVersion, MapSE<StringSE, HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, SetSE<StringSE> groupNames) protected HealthComponentgetHealth(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)