コンストラクターと説明 |
---|
HealthEndpoint(HealthIndicator healthIndicator) 指定された healthIndicator を使用してレスポンスを生成する新しい HealthEndpoint インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
Health | health() |
Health | healthForComponent(StringSE component) 特定のコンポーネントの Health を返します。そのようなコンポーネントが存在しない場合は null を返します。 |
Health | healthForComponentInstance(StringSE component, StringSE instance) 特定のコンポーネントが CompositeHealthIndicator でない場合、またはそのようなインスタンスが存在しない場合、指定された component または null によって管理される特定の instance の Health を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public HealthEndpoint(HealthIndicator healthIndicator)
healthIndicator
を使用してレスポンスを生成する新しい HealthEndpoint
インスタンスを作成します。healthIndicator
- ヘルス指標 @ReadOperation public Health health()
@ReadOperation public Health healthForComponent(@Selector StringSE component)
Health
を返します。そのようなコンポーネントが存在しない場合は null
を返します。component
- 特定の HealthIndicator
の名前 Health
または null
@ReadOperation public Health healthForComponentInstance(@Selector StringSE component, @Selector StringSE instance)
CompositeHealthIndicator
でない場合、またはそのようなインスタンスが存在しない場合、指定された component
または null
によって管理される特定の instance
の Health
を返します。component
- 特定の CompositeHealthIndicator
の名前 instance
- そのコンポーネントによって管理されるインスタンスの名前 null
のコンポーネントインスタンスの Health
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.