@ApplicationScoped @Liveness @Default public class PersistenceExceptionLivenessCheck extends AbstractErrorCounterHealthCheck implements org.eclipse.microprofile.health.HealthCheck, LivenessCheck
errorCounter, up
Constructor and Description |
---|
PersistenceExceptionLivenessCheck() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.health.HealthCheckResponse |
call() |
void |
suspect(String reason) |
void |
suspectWithException(Throwable reason) |
callSuper, init, suspectSuper
public org.eclipse.microprofile.health.HealthCheckResponse call()
call
in interface org.eclipse.microprofile.health.HealthCheck
public void suspect(String reason)
suspect
in interface LivenessCheck
public void suspectWithException(Throwable reason)
suspectWithException
in interface LivenessCheck
Copyright © 2020 Red Hat. All rights reserved.