Uses of Interface
ratpack.exec.Execution
-
Packages that use Execution Package Description ratpack.exec The execution management.ratpack.exec.util ratpack.handling The handling of application requests.ratpack.logging Utility classes for integration Ratpack with various logging frameworks.ratpack.test.exec -
-
Uses of Execution in ratpack.exec
Methods in ratpack.exec that return Execution Modifier and Type Method Description default <O> ExecutionExecution. add(com.google.common.reflect.TypeToken<O> type, O object)Adds a registry entry that is available by the given type.default <O> ExecutionExecution. add(java.lang.Class<O> type, O object)Adds a registry entry that is available by the given type.default ExecutionExecution. add(java.lang.Object object)Adds a registry entry.<O> ExecutionExecution. addLazy(com.google.common.reflect.TypeToken<O> type, java.util.function.Supplier<? extends O> supplier)Adds a lazily created entry to the registry.default <O> ExecutionExecution. addLazy(java.lang.Class<O> type, java.util.function.Supplier<? extends O> supplier)Adds a lazily created entry to the registry.static ExecutionExecution. current()Provides the currently executing execution.Methods in ratpack.exec that return types with arguments of type Execution Modifier and Type Method Description static java.util.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 voidExecInitializer. init(Execution execution)Called before the execution is started in order to perform any initialisation.voidExecInterceptor. 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 ExecSpecExecSpec. onComplete(Action<? super Execution> onComplete)Specifies the completion callback for the execution.ExecStarterExecStarter. onComplete(Action<? super Execution> onComplete)Specifies the completion callback for the execution.ExecSpecExecSpec. onStart(Action<? super Execution> onStart)Specifies an action to be taken just before the execution starts.ExecStarterExecStarter. onStart(Action<? super Execution> onStart)Specifies an action to be taken just before the execution starts.voidExecStarter. 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.handling
Methods in ratpack.handling that return Execution Modifier and Type Method Description ExecutionContext. getExecution()The execution of handling this request. -
Uses of Execution in ratpack.logging
Methods in ratpack.logging with parameters of type Execution Modifier and Type Method Description voidMDCInterceptor. intercept(Execution execution, ExecInterceptor.ExecType execType, Block executionSegment)Method parameters in ratpack.logging with type arguments of type Execution Modifier and Type Method Description static MDCInterceptorMDCInterceptor. withInit(Action<? super Execution> init)Creates an interceptor with the given initialisation action. -
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 voidExecHarness. execute(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Operation> function)default voidExecHarness. execute(Function<? super Execution,? extends Operation> function)static voidExecHarness. executeSingle(Action<? super RegistrySpec> registry, Function<? super Execution,? extends Operation> function)static voidExecHarness. executeSingle(Function<? super Execution,? extends Operation> function)default voidExecHarness. run(Action<? super Execution> action)Initiates an execution and blocks until it completes.static voidExecHarness. 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,executesthe 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,executesthe given function with it before closing it, then returning execution result.
-