| Package | Description |
|---|---|
| com.flipkart.ranger.healthcheck | |
| com.flipkart.ranger.healthservice | |
| com.flipkart.ranger.serviceprovider |
| Modifier and Type | Method and Description |
|---|---|
static Healthcheck |
Healthchecks.defaultHealthyCheck() |
static Healthcheck |
Healthchecks.fileExistanceCheck(String filePath) |
| Constructor and Description |
|---|
HealthChecker(List<Healthcheck> healthchecks,
ServiceProvider<T> serviceProvider) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceHealthAggregator
This is a simple
HealthService implementation,
which can be used to register a set of IsolatedHealthMonitors and get an aggregated health of the service. |
| Modifier and Type | Method and Description |
|---|---|
ServiceProviderBuilder<T> |
ServiceProviderBuilder.withHealthcheck(Healthcheck healthcheck) |
| Constructor and Description |
|---|
ServiceProvider(String serviceName,
Serializer<T> serializer,
org.apache.curator.framework.CuratorFramework curatorFramework,
ServiceNode<T> serviceNode,
List<Healthcheck> healthchecks,
Supplier<Double> healthMetricSupplier,
int healthUpdateInterval,
int staleUpdateThreshold,
ServiceHealthAggregator serviceHealthAggregator) |
Copyright © 2021. All rights reserved.