枚举类的使用
org.springframework.boot.availability.LivenessState
使用LivenessState的程序包
程序包
说明
Support for describing the availability of Spring Boot applications.
-
org.springframework.boot.availability中LivenessState的使用
修饰符和类型方法说明default LivenessState
ApplicationAvailability.getLivenessState()
Return theLivenessState
of the application.static LivenessState
返回带有指定名称的该类的枚举常量。static LivenessState[]
LivenessState.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同