类 Status
java.lang.Object
org.springframework.boot.actuate.health.Status
Value object to express state of a component or subsystem.
Status provides convenient constants for commonly used states like UP
,
DOWN
or OUT_OF_SERVICE
.
Custom states can also be created and used throughout the Spring Boot Health subsystem.
- 从以下版本开始:
- 1.1.0
- 作者:
- Christian Dupuis
-
字段概要
字段修饰符和类型字段说明static final Status
Status
indicating that the component or subsystem has suffered an unexpected failure.static final Status
Status
indicating that the component or subsystem has been taken out of service and should not be used.static final Status
Status
indicating that the component or subsystem is in an unknown state.static final Status
Status
indicating that the component or subsystem is functioning as expected. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
UNKNOWN
Status
indicating that the component or subsystem is in an unknown state. -
UP
Status
indicating that the component or subsystem is functioning as expected. -
DOWN
Status
indicating that the component or subsystem has suffered an unexpected failure. -
OUT_OF_SERVICE
Status
indicating that the component or subsystem has been taken out of service and should not be used.
-
-
构造器详细资料
-
方法详细资料