Interface ProbeManager

All Superinterfaces:
ProbeRunnerMBean
All Known Implementing Classes:
ProbeManagerImpl

public interface ProbeManager extends ProbeRunnerMBean
Since:
5.4
  • Method Details

    • getAllProbeInfos

      Collection<ProbeInfo> getAllProbeInfos()
    • getInSuccessProbeInfos

      Collection<ProbeInfo> getInSuccessProbeInfos()
    • getInFailureProbeInfos

      Collection<ProbeInfo> getInFailureProbeInfos()
    • runProbe

      ProbeInfo runProbe(ProbeInfo probe)
    • runProbe

      ProbeInfo runProbe(String name)
    • getProbeInfo

      ProbeInfo getProbeInfo(String name)
    • getProbeInfo

      ProbeInfo getProbeInfo(Class<? extends Probe> probeClass)
    • getHealthCheckProbes

      Collection<ProbeInfo> getHealthCheckProbes()
      List of probes evaluated for a health check
      Since:
      9.3
    • getOrRunHealthChecks

      HealthCheckResult getOrRunHealthChecks()
      Return the status of all the probes evaluated for a healthCheck. The probes are run if the last run was more than a short while ago
      Since:
      9.3
    • registerProbeForHealthCheck

      void registerProbeForHealthCheck(HealthCheckProbesDescriptor descriptor)
      This probe is taken into account for the healthCheck
      Since:
      9.3
    • getOrRunHealthCheck

      HealthCheckResult getOrRunHealthCheck(String probe)
      Return the status of the given probe. The probe is run only if the last run was more than a short while ago
      Since:
      9.3