@ApplicationScoped public class SmallRyeHealthReporter extends Object
| Constructor and Description |
|---|
SmallRyeHealthReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHealthCheck(AsyncHealthCheck check) |
void |
addHealthCheck(org.eclipse.microprofile.health.HealthCheck check) |
SmallRyeHealth |
getHealth() |
io.smallrye.mutiny.Uni<SmallRyeHealth> |
getHealthAsync() |
SmallRyeHealth |
getHealthGroup(String groupName) |
io.smallrye.mutiny.Uni<SmallRyeHealth> |
getHealthGroupAsync(String groupName) |
SmallRyeHealth |
getHealthGroups() |
io.smallrye.mutiny.Uni<SmallRyeHealth> |
getHealthGroupsAsync() |
SmallRyeHealth |
getLiveness() |
io.smallrye.mutiny.Uni<SmallRyeHealth> |
getLivenessAsync() |
SmallRyeHealth |
getReadiness() |
io.smallrye.mutiny.Uni<SmallRyeHealth> |
getReadinessAsync() |
SmallRyeHealth |
getWellness() |
io.smallrye.mutiny.Uni<SmallRyeHealth> |
getWellnessAsync() |
void |
initChecks() |
void |
removeHealthCheck(AsyncHealthCheck check) |
void |
removeHealthCheck(org.eclipse.microprofile.health.HealthCheck check) |
void |
reportHealth(OutputStream out,
SmallRyeHealth health) |
@PostConstruct public void initChecks()
public void reportHealth(OutputStream out, SmallRyeHealth health)
public SmallRyeHealth getHealth()
public SmallRyeHealth getLiveness()
public SmallRyeHealth getReadiness()
@Experimental(value="Wellness experimental checks") public SmallRyeHealth getWellness()
public SmallRyeHealth getHealthGroup(String groupName)
public SmallRyeHealth getHealthGroups()
@Experimental(value="Asynchronous Health Check procedures") public io.smallrye.mutiny.Uni<SmallRyeHealth> getHealthAsync()
@Experimental(value="Asynchronous Health Check procedures") public io.smallrye.mutiny.Uni<SmallRyeHealth> getLivenessAsync()
@Experimental(value="Asynchronous Health Check procedures") public io.smallrye.mutiny.Uni<SmallRyeHealth> getReadinessAsync()
@Experimental(value="Asynchronous Health Check procedures & wellness experimental checks") public io.smallrye.mutiny.Uni<SmallRyeHealth> getWellnessAsync()
@Experimental(value="Asynchronous Health Check procedures and Health Groups") public io.smallrye.mutiny.Uni<SmallRyeHealth> getHealthGroupAsync(String groupName)
@Experimental(value="Asynchronous Health Check procedures and Health Groups") public io.smallrye.mutiny.Uni<SmallRyeHealth> getHealthGroupsAsync()
public void addHealthCheck(org.eclipse.microprofile.health.HealthCheck check)
public void addHealthCheck(AsyncHealthCheck check)
public void removeHealthCheck(org.eclipse.microprofile.health.HealthCheck check)
public void removeHealthCheck(AsyncHealthCheck check)
Copyright © 2018–2021. All rights reserved.