| Package | Description |
|---|---|
| io.appform.ranger.core.healthservice | |
| io.appform.ranger.core.healthservice.monitor.sample | |
| io.appform.ranger.core.serviceprovider |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceHealthAggregator.addIsolatedMonitor(IsolatedHealthMonitor monitor)
this method can be used to add a
IsolatedHealthMonitor which 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 |
void |
HealthService.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 a
IsolatedHealthMonitor which 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 |
| Modifier and Type | Class and Description |
|---|---|
class |
CountMonitor
A monitor that can be used as a counting monitor to check if any countable entity breaches a threashhold
Eg:
1.
|
class |
DiskSpaceMonitor
A simple monitor to keep track of the disk space in a partition
|
class |
PingCheckMonitor
A Ping checking monitor, which executes a
HttpRequest at regular intervals
Maintains every healthcheck in a RollingWindowHealthQueue to prevent continuous flaps of health |
class |
RotationStatusMonitor
This 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
|
| Modifier and Type | Method and Description |
|---|---|
B |
BaseServiceProviderBuilder.withIsolatedHealthMonitor(IsolatedHealthMonitor monitor)
Register a monitor to the service, to setup a continuous monitoring on the monitor
this method can be used to add a
IsolatedHealthMonitor which 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 |
Copyright © 2015–2022. All rights reserved.