public interface ProbeManager extends ProbeRunnerMBean
Modifier and Type | Method and Description |
---|---|
Collection<ProbeInfo> |
getAllProbeInfos() |
Collection<ProbeInfo> |
getHealthCheckProbes()
List of probes evaluated for a health check
|
Collection<ProbeInfo> |
getInFailureProbeInfos() |
Collection<ProbeInfo> |
getInSuccessProbeInfos() |
HealthCheckResult |
getOrRunHealthCheck(String probe)
Return the status of the given probe.
|
HealthCheckResult |
getOrRunHealthChecks()
Return the status of all the probes evaluated for a healthCheck.
|
ProbeInfo |
getProbeInfo(Class<? extends Probe> probeClass) |
ProbeInfo |
getProbeInfo(String name) |
void |
registerProbeForHealthCheck(HealthCheckProbesDescriptor descriptor)
This probe is taken into account for the healthCheck
|
ProbeInfo |
runProbe(ProbeInfo probe) |
ProbeInfo |
runProbe(String name) |
getProbeNames, getProbesCount, getProbesInError, getProbesInErrorCount, getProbesInSuccess, getProbesInSuccessCount, runAllProbes
Collection<ProbeInfo> getAllProbeInfos()
Collection<ProbeInfo> getInSuccessProbeInfos()
Collection<ProbeInfo> getInFailureProbeInfos()
ProbeInfo getProbeInfo(String name)
ProbeInfo getProbeInfo(Class<? extends Probe> probeClass)
Collection<ProbeInfo> getHealthCheckProbes()
HealthCheckResult getOrRunHealthChecks()
void registerProbeForHealthCheck(HealthCheckProbesDescriptor descriptor)
HealthCheckResult getOrRunHealthCheck(String probe)
Copyright © 2018 Nuxeo. All rights reserved.