Interface Callbacks.BeforeExecuteCallback
- Enclosing class:
Callbacks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
这是一个异步回调接口,用于在执行任务之前需要执行的操作。
-
方法概述
-
方法详细信息(Method Details)
-
call
这个回调函数会在执行开始之前被调用。它可以用于对执行过程进行监控(即“instrument”执行过程),或者通过返回错误来阻止执行的继续。- Parameters:
ctx- the request context- Returns:
- a
Singlethat completes with a boolean indicating whether the execution should be prevented
-