toggle menu
kord-extensions
2.3.6-SNAPSHOT
jvm
switch theme
search in API
kord-extensions
/
dev.kordex.core.healthcheck
/
HealthCheckResult
Health
Check
Result
class
HealthCheckResult
(
val
lastState
:
HealthCheckState
,
val
lastMessage
:
String
?
)
Members
Constructors
Health
Check
Result
Link copied to clipboard
constructor
(
lastState
:
HealthCheckState
,
lastMessage
:
String
?
)
Properties
last
Message
Link copied to clipboard
val
lastMessage
:
String
?
last
State
Link copied to clipboard
val
lastState
:
HealthCheckState
message
Link copied to clipboard
var
message
:
String
?
state
Link copied to clipboard
var
state
:
HealthCheckState
Functions
healthy
If
Link copied to clipboard
suspend
fun
healthyIf
(
message
:
String
?
=
null
,
body
:
suspend
(
)
->
Boolean
)
healthy
If
Not
Link copied to clipboard
suspend
fun
healthyIfNot
(
message
:
String
?
=
null
,
body
:
suspend
(
)
->
Boolean
)
starting
If
Link copied to clipboard
suspend
fun
startingIf
(
message
:
String
?
=
null
,
body
:
suspend
(
)
->
Boolean
)
starting
If
Not
Link copied to clipboard
suspend
fun
startingIfNot
(
message
:
String
?
=
null
,
body
:
suspend
(
)
->
Boolean
)
state
Link copied to clipboard
fun
state
(
state
:
HealthCheckState
,
message
:
String
?
=
null
)
unhealthy
If
Link copied to clipboard
suspend
fun
unhealthyIf
(
message
:
String
?
=
null
,
body
:
suspend
(
)
->
Boolean
)
unhealthy
If
Not
Link copied to clipboard
suspend
fun
unhealthyIfNot
(
message
:
String
?
=
null
,
body
:
suspend
(
)
->
Boolean
)