Class HealthCenter
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.extension.HealthCenter
-
@ApplicationScoped public class HealthCenter extends Object
Component responsible to compute the current state of the reactive messaging application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HealthCenter.ReportedFailure
-
Constructor Summary
Constructors Constructor Description HealthCenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthReport
getLiveness()
HealthReport
getReadiness()
HealthReport
getStartup()
boolean
isInitialized()
void
markInitialized()
void
report(String source, Throwable cause)
void
reportApplicationFailure(String method, Throwable cause)
-
-
-
Method Detail
-
getReadiness
public HealthReport getReadiness()
-
getLiveness
public HealthReport getLiveness()
-
getStartup
public HealthReport getStartup()
-
isInitialized
public boolean isInitialized()
-
markInitialized
public void markInitialized()
-
-