クラス GrpcServerHealth
java.lang.ObjectSE
org.springframework.boot.grpc.server.health.GrpcServerHealth
HealthStatusManager を更新するために使用できる gRPC サーバーのヘルス情報を提供します。- 導入:
- 4.1.0
- 作成者:
- Phillip Webb
コンストラクター概要
コンストラクターコンストラクター説明GrpcServerHealth(HealthContributorRegistry registry, @Nullable ReactiveHealthContributorRegistry fallbackRegistry, HealthCheckedGrpcComponents components) 新しいGrpcServerHealthインスタンスを作成します。方法の概要
修飾子と型メソッド説明voidupdate(io.grpc.protobuf.services.HealthStatusManager manager) voidupdate(BiConsumerSE<StringSE, io.grpc.health.v1.HealthCheckResponse.ServingStatus> updater)
コンストラクターの詳細
GrpcServerHealth
public GrpcServerHealth(HealthContributorRegistry registry, @Nullable ReactiveHealthContributorRegistry fallbackRegistry, HealthCheckedGrpcComponents components) 新しいGrpcServerHealthインスタンスを作成します。- パラメーター:
registry- ヘルスコントリビューター登録fallbackRegistry- フォールバックレジストリまたはnullcomponents- サーバーの健全性を提供するために使用されるコンポーネント
方法の詳細
update
public void update(io.grpc.protobuf.services.HealthStatusManager manager) update
public void update(BiConsumerSE<StringSE, io.grpc.health.v1.HealthCheckResponse.ServingStatus> updater)