Uses of Enum Class
io.appform.ranger.core.healthcheck.HealthcheckStatus
Packages that use HealthcheckStatus
Package
Description
-
Uses of HealthcheckStatus in io.appform.ranger.core.healthcheck
Methods in io.appform.ranger.core.healthcheck that return HealthcheckStatusModifier and TypeMethodDescriptionHealthcheck.check()return healthy/unhealthy status of the servicestatic HealthcheckStatusReturns the enum constant of this class with the specified name.static HealthcheckStatus[]HealthcheckStatus.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of HealthcheckStatus in io.appform.ranger.core.healthservice
Methods in io.appform.ranger.core.healthservice that return HealthcheckStatusModifier and TypeMethodDescriptionServiceHealthAggregator.check()ServiceHealthAggregator.getServiceHealth()aggregate all registered (enabled) monitors, collect individual monitor healths, and aggregate them accordinglyMethod parameters in io.appform.ranger.core.healthservice with type arguments of type HealthcheckStatusModifier and TypeMethodDescriptionvoidServiceHealthAggregator.addInlineMonitor(Monitor<HealthcheckStatus> monitor) this method can be used to add aMonitorthis monitor will not be scheduled in a separate isolated thread, but instead its execution will happen inline, in a single thread, along with other inline monitorsvoidServiceHealthAggregator.addIsolatedMonitor(IsolatedHealthMonitor<HealthcheckStatus> monitor) this method can be used to add aIsolatedHealthMonitorwhich will later be scheduled at regular intervals and monitored to generate and maintain an aggregated health of the service the scheduling will happen in an isolated thread -
Uses of HealthcheckStatus in io.appform.ranger.core.healthservice.monitor
Methods in io.appform.ranger.core.healthservice.monitor that return types with arguments of type HealthcheckStatusModifier and TypeMethodDescriptionstatic Monitor<HealthcheckStatus>Monitors.defaultHealthyMonitor()static Monitor<HealthcheckStatus>Monitors.fileExistenceCheckMonitor(String filePath) Methods in io.appform.ranger.core.healthservice.monitor with parameters of type HealthcheckStatusModifier and TypeMethodDescriptionbooleanRollingWindowHealthQueue.checkInRollingWindow(HealthcheckStatus currentHealthStatus) dequeues the latest incoming status, enqueues the latest health status updates the failure counts accordingly -
Uses of HealthcheckStatus in io.appform.ranger.core.healthservice.monitor.sample
Methods in io.appform.ranger.core.healthservice.monitor.sample that return HealthcheckStatus -
Uses of HealthcheckStatus in io.appform.ranger.core.serviceprovider
Method parameters in io.appform.ranger.core.serviceprovider with type arguments of type HealthcheckStatusModifier and TypeMethodDescriptionBaseServiceProviderBuilder.withIsolatedHealthMonitor(IsolatedHealthMonitor<HealthcheckStatus> monitor) Register a monitor to the service, to set up a continuous monitoring on the monitor this method can be used to add aIsolatedHealthMonitorwhich will later be scheduled at regular intervals and monitored to generate and maintain an aggregated health of the service the scheduling will happen in an isolated thread