Package | Description |
---|---|
ratpack.background |
Mechanisms for executing operations that performing operations in the background (i.e.
|
ratpack.handling |
The handling of application requests.
|
Modifier and Type | Method and Description |
---|---|
<T> Background.SuccessOrError<T> |
Background.exec(Callable<T> operation)
Execute the given operation in a background thread pool, avoiding blocking on a request handling thread.
|
Modifier and Type | Method and Description |
---|---|
<T> Background.SuccessOrError<T> |
Context.background(Callable<T> backgroundOperation)
Perform a blocking operation, off the request thread.
|