类 CallableInterceptorChain
java.lang.Object
cn.taketoday.web.context.async.CallableInterceptorChain
Assists with the invocation of
CallableProcessingInterceptor's.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev, Rob Winch
-
字段概要
字段修饰符和类型字段说明private final List<CallableProcessingInterceptor>private static final cn.taketoday.logging.Loggerprivate intprivate Future<?> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidapplyBeforeConcurrentHandling(RequestContext request, Callable<?> task) applyPostProcess(RequestContext request, Callable<?> task, Object concurrentResult) voidapplyPreProcess(RequestContext request, Callable<?> task) private voidvoidsetTaskFuture(Future<?> taskFuture) voidtriggerAfterCompletion(RequestContext request, Callable<?> task) triggerAfterError(RequestContext request, Callable<?> task, Throwable throwable) triggerAfterTimeout(RequestContext request, Callable<?> task)
-
字段详细资料
-
log
private static final cn.taketoday.logging.Logger log -
interceptors
-
preProcessIndex
private int preProcessIndex -
taskFuture
-
-
构造器详细资料
-
CallableInterceptorChain
-
-
方法详细资料
-
setTaskFuture
-
applyBeforeConcurrentHandling
public void applyBeforeConcurrentHandling(RequestContext request, Callable<?> task) throws Exception - 抛出:
Exception
-
applyPreProcess
- 抛出:
Exception
-
applyPostProcess
-
triggerAfterTimeout
-
cancelTask
private void cancelTask() -
triggerAfterError
-
triggerAfterCompletion
-