クラス HealthEndpointWebExtension
java.lang.ObjectSE
org.springframework.boot.actuate.health.HealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class)
@ImportRuntimeHints(org.springframework.boot.actuate.health.HealthEndpointWebExtensionRuntimeHints.class)
public class HealthEndpointWebExtension
extends ObjectSE
- 導入:
- 2.0.0
- 作成者:
- Christian Dupuis, Dave Syer, Andy Wilkinson, Phillip Webb, Edd ú Mel é ndez, Madhura Bhave, Stephane Nicoll, Scott Frederick
コンストラクターの概要
コンストラクターコンストラクター説明HealthEndpointWebExtension
(HealthContributorRegistry registry, HealthEndpointGroups groups, DurationSE slowIndicatorLoggingThreshold) 新しいHealthEndpointWebExtension
インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明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
(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext) health
(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, StringSE... path) health
(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, StringSE... path)
コンストラクターの詳細
HealthEndpointWebExtension
public HealthEndpointWebExtension(HealthContributorRegistry registry, HealthEndpointGroups groups, DurationSE slowIndicatorLoggingThreshold) 新しいHealthEndpointWebExtension
インスタンスを作成します。- パラメーター:
registry
- ヘルスコントリビューター登録groups
- ヘルスエンドポイントグループslowIndicatorLoggingThreshold
- 遅いヘルスインジケーターのログが発生するまでの期間- 導入:
- 2.6.9
メソッドの詳細
health
@ReadOperation public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext) health
@ReadOperation public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, @Selector(match=ALL_REMAINING) StringSE... path) health
public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, 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)