Uses of Interface
ratpack.exec.Execution
-
Packages that use Execution Package Description ratpack.core.handling The handling of application requests.ratpack.core.logging Utility classes for integration Ratpack with various logging frameworks.ratpack.exec The execution management.ratpack.exec.util ratpack.test.exec -
-
Uses of Execution in ratpack.core.handling
Methods in ratpack.core.handling that return Execution Modifier and Type Method Description Execution
Context. getExecution()
The execution of handling this request. -
Uses of Execution in ratpack.core.logging
Methods in ratpack.core.logging with parameters of type Execution Modifier and Type Method Description void
MDCInterceptor. intercept(Execution execution, ExecInterceptor.ExecType execType, Block executionSegment)
Method parameters in ratpack.core.logging with type arguments of type Execution Modifier and Type Method Description static MDCInterceptor
MDCInterceptor. withInit(Action<? super Execution> init)
Creates an interceptor with the given initialisation action. -
Uses of Execution in ratpack.exec
Methods in ratpack.exec that return Execution Modifier and Type Method Description default <O> Execution
Execution. add(com.google.common.reflect.TypeToken<O> type, O object)
Adds a registry entry that is available by the given type.default <O> Execution
Execution. add(Class<O> type, O object)
Adds a registry entry that is available by the given type.default Execution
Execution. add(Object object)
Adds a registry entry.<O> Execution
Execution. addLazy(com.google.common.reflect.TypeToken<O> type, Supplier<? extends O> supplier)
Adds a lazily created entry to the registry.default <O> Execution
Execution. addLazy(Class<O> type, Supplier<? extends O> supplier)
Adds a lazily created entry to the registry.static Execution
Execution. current()
Provides the currently executing execution.Methods in ratpack.exec that return types with arguments of type Execution Modifier and Type Method Description static Optional<Execution>
Execution. currentOpt()
Provides the currently executing execution, if any.Methods in ratpack.exec with parameters of type Execution Modifier and Type Method Description void
ExecInitializer. init(Execution execution)
Called before the execution is started in order to perform any initialisation.void
ExecInterceptor. intercept(Execution execution, ExecInterceptor.ExecType execType, Block executionSegment)
Intercepts the execution of an execution segment.Method parameters in ratpack.exec with type arguments of type Execution Modifier and Type Method Description ExecSpec
ExecSpec. onComplete(Action<? super Execution> onComplete)
Specifies the completion callback for the execution.ExecStarter
ExecStarter. onComplete(Action<? super Execution> onComplete)
Specifies the completion callback for the execution.ExecSpec
ExecSpec. onStart(Action<? super Execution> onStart)
Specifies an action to be taken just before the execution starts.ExecStarter
ExecStarter. onStart(Action<? super Execution> onStart)
Specifies an action to be taken just before the execution starts.void
ExecStarter. start(Action<? super Execution> initialExecutionSegment)
Starts the execution, with the given action as the initial segment. -
Uses of Execution in ratpack.exec.util
Method parameters in ratpack.exec.util with type arguments of type Execution Modifier and Type Method Description ParallelBatch<T>
ParallelBatch. execInit(Action<? super Execution> execInit)
Specifies an initializer for each forked execution. -
Uses of Execution in ratpack.test.exec
Method parameters in ratpack.test.exec with type arguments of type Execution Modifier and Type Method Description default void
ExecHarness. execute(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Operation> function)
default void
ExecHarness. execute(Function<? super Execution,? extends Operation> function)
static void
ExecHarness. executeSingle(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Operation> function)
static void
ExecHarness. executeSingle(Function<? super Execution,? extends Operation> function)
default void
ExecHarness. run(Action<? super Execution> action)
Initiates an execution and blocks until it completes.static void
ExecHarness. runSingle(Action<? super Execution> action)
Convenient form ofExecHarness.run(Action)
that creates and closes a harness for the run.<T> ExecResult<T>
ExecHarness. yield(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Promise<T>> func)
Synchronously returns a promised value.default <T> ExecResult<T>
ExecHarness. yield(Function<? super Execution,? extends Promise<T>> func)
Synchronously returns a promised value.static <T> ExecResult<T>
ExecHarness. yieldSingle(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Promise<T>> func)
Creates an exec harness,executes
the given function with it before closing it, then returning execution result.static <T> ExecResult<T>
ExecHarness. yieldSingle(Function<? super Execution,? extends Promise<T>> func)
Creates an exec harness,executes
the given function with it before closing it, then returning execution result.
-