| Package | Description |
|---|---|
| ratpack.exec |
The execution management.
|
| ratpack.health |
Health checks report on the status of key components in the system and are generally used for monitoring and reporting.
|
| Modifier and Type | Method and Description |
|---|---|
static Throttle |
Throttle.ofSize(int size)
Create a new throttle of the given size.
|
static Throttle |
Throttle.unlimited()
Create a new throttle that does not limit concurrency.
|
| Modifier and Type | Method and Description |
|---|---|
default Promise<T> |
Promise.throttled(Throttle throttle)
Throttles
this promise, using the given throttle. |
| Modifier and Type | Method and Description |
|---|---|
Throttle |
HealthCheckHandler.getThrottle()
The throttle for executing health checks.
|
| Modifier and Type | Method and Description |
|---|---|
static Promise<HealthCheckResults> |
HealthCheck.checkAll(Registry registry,
Throttle throttle,
java.lang.Iterable<? extends HealthCheck> healthChecks)
Execute health checks.
|
| Constructor and Description |
|---|
HealthCheckHandler(java.lang.String pathTokenName,
Throttle throttle)
Constructor.
|
HealthCheckHandler(Throttle throttle)
Uses the
HealthCheckHandler.DEFAULT_NAME_TOKEN and the given throttle. |