Package com.oracle.coherence.mp.health
Class CoherenceHealthChecks
java.lang.Object
com.oracle.coherence.mp.health.CoherenceHealthChecks
A CDI producer that produces Coherence
health checks.- Since:
- 22.06.4
- Author:
- Jonathan Knight 2023.01.06
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classA base implementation for Coherencehealth checks.protected static classA Coherence livenesshealth checks.protected static classA Coherence readinesshealth checks.protected static classA Coherence start-uphealth checks. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor required for CDI bean.CoherenceHealthChecks(Supplier<? extends Collection<com.tangosol.net.Coherence>> supplier) Create aCoherenceHealthChecksinstance. -
Method Summary
-
Field Details
-
HEALTH_CHECK_READINESS
The name of the Coherence readinesshealth checks- See Also:
-
HEALTH_CHECK_LIVENESS
The name of the Coherence livenesshealth checks- See Also:
-
HEALTH_CHECK_STARTUP
The name of the Coherence start-uphealth checks- See Also:
-
-
Constructor Details
-
CoherenceHealthChecks
public CoherenceHealthChecks()Default constructor required for CDI bean. -
CoherenceHealthChecks
Create aCoherenceHealthChecksinstance.- Parameters:
supplier- theCoherenceinstances supplier.
-
-
Method Details
-
liveness
@Produces @Liveness public org.eclipse.microprofile.health.HealthCheck liveness() -
readiness
@Produces @Readiness public org.eclipse.microprofile.health.HealthCheck readiness() -
startup
@Produces @Startup public org.eclipse.microprofile.health.HealthCheck startup()
-