public class MongoHealthIndicator extends AbstractHealthIndicator
HealthIndicator の簡単な実装。| コンストラクターと説明 |
|---|
MongoHealthIndicator(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate) |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected void | doHealthCheck(Health.Builder builder) 実際のヘルスチェックロジック。 |
healthcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic MongoHealthIndicator(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate)
protected void doHealthCheck(Health.Builder builder) throws ExceptionSE
AbstractHealthIndicatorAbstractHealthIndicator の doHealthCheck builder - Health.Builder を使用して、ヘルスステータスと詳細を報告する ExceptionSE - Status.DOWN システムステータスを作成する ExceptionSE。Copyright © 2019 Pivotal Software, Inc.. All rights reserved.