| Package | Description |
|---|---|
| io.appform.ranger.core.healthservice | |
| io.appform.ranger.core.healthservice.monitor | |
| io.appform.ranger.core.healthservice.monitor.sample |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceHealthAggregator.addInlineMonitor(Monitor<HealthcheckStatus> monitor)
this method can be used to add a
Monitor
this 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 monitors |
void |
HealthService.addInlineMonitor(Monitor<T> monitor)
Add a monitor which will be run in the same thread.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IsolatedHealthMonitor<T>
|
| Modifier and Type | Method and Description |
|---|---|
static Monitor<HealthcheckStatus> |
Monitors.defaultHealthyMonitor() |
static Monitor<HealthcheckStatus> |
Monitors.fileExistenceCheckMonitor(String filePath) |
| 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
|
Copyright © 2015–2022. All rights reserved.