Uses of Class
io.appform.ranger.core.healthservice.monitor.IsolatedHealthMonitor
Packages that use IsolatedHealthMonitor
Package
Description
-
Uses of IsolatedHealthMonitor in io.appform.ranger.core.healthservice
Methods in io.appform.ranger.core.healthservice with parameters of type IsolatedHealthMonitorModifier and TypeMethodDescriptionvoidHealthService.addIsolatedMonitor(IsolatedHealthMonitor<T> monitor) Register a monitor to the service, to setup 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 threadvoidServiceHealthAggregator.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 IsolatedHealthMonitor in io.appform.ranger.core.healthservice.monitor.sample
Subclasses of IsolatedHealthMonitor in io.appform.ranger.core.healthservice.monitor.sampleModifier and TypeClassDescriptionclassA monitor that can be used as a counting monitor to check if any countable entity breaches a threashhold Eg: 1.classA simple monitor to keep track of the disk space in a partitionclassA Ping checking monitor, which executes aHttpRequestat regular intervals Maintains every healthcheck in aRollingWindowHealthQueueto prevent continuous flaps of healthclassThis is a simple service in/out rotation check monitor Initialize this class with a filePath (location of the file) This monitor then: Marks service as unhealthy when the file does not exist Marks service as healthy when the file exists -
Uses of IsolatedHealthMonitor in io.appform.ranger.core.serviceprovider
Methods in io.appform.ranger.core.serviceprovider with parameters of type IsolatedHealthMonitorModifier 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