@Experimental public class HealthCheckCollection extends Object
This class provides methods to add, remove, and retrieve health checks for different Redis endpoints. On close() all
health checks are stopped.
| Constructor and Description |
|---|
HealthCheckCollection() |
| Modifier and Type | Method and Description |
|---|---|
HealthCheck |
add(HealthCheck healthCheck) |
HealthCheck[] |
addAll(HealthCheck[] healthChecks) |
void |
close() |
HealthCheck |
get(RedisURI endpoint) |
HealthCheck |
remove(HealthCheck healthCheck) |
HealthCheck |
remove(RedisURI endpoint) |
public HealthCheck add(HealthCheck healthCheck)
public HealthCheck[] addAll(HealthCheck[] healthChecks)
public HealthCheck remove(RedisURI endpoint)
public HealthCheck remove(HealthCheck healthCheck)
public HealthCheck get(RedisURI endpoint)
public void close()
Copyright © 2025 lettuce.io. All rights reserved.