类 CassandraDriverHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.boot.actuate.cassandra.CassandraDriverHealthIndicator
- 所有已实现的接口:
HealthContributor
,HealthIndicator
Simple implementation of a
HealthIndicator
returning status information for
Cassandra data stores.- 从以下版本开始:
- 2.4.0
- 作者:
- Alexandre Dutra, Tomasz Lelek
-
构造器概要
构造器构造器说明CassandraDriverHealthIndicator
(com.datastax.oss.driver.api.core.CqlSession session) Create a newCassandraDriverHealthIndicator
instance. -
方法概要
从类继承的方法 org.springframework.boot.actuate.health.AbstractHealthIndicator
health
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
构造器详细资料
-
CassandraDriverHealthIndicator
public CassandraDriverHealthIndicator(com.datastax.oss.driver.api.core.CqlSession session) Create a newCassandraDriverHealthIndicator
instance.- 参数:
session
- theCqlSession
.
-
-
方法详细资料
-
doHealthCheck
从类复制的说明:AbstractHealthIndicator
Actual health check logic.- 指定者:
doHealthCheck
在类中AbstractHealthIndicator
- 参数:
builder
- theHealth.Builder
to report health status and details- 抛出:
Exception
- anyException
that should create aStatus.DOWN
system status.
-