Class ResponsiveHealthIndicator
java.lang.Object
io.camunda.zeebe.gateway.impl.probes.health.ResponsiveHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class ResponsiveHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
Health indicator that sends a request to the gateway to check its responsiveness. The request
must yield a response within a given timeout for this health indicator to report
Status.UP-
Constructor Summary
ConstructorsConstructorDescriptionResponsiveHealthIndicator(GatewayCfg gatewayCfg, HealthZeebeClientProperties healthZeebeClientProperties) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
ResponsiveHealthIndicator
public ResponsiveHealthIndicator(GatewayCfg gatewayCfg, HealthZeebeClientProperties healthZeebeClientProperties)
-
-
Method Details
-
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
-
getZeebeClient
-