类 SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter
java.lang.Object
cn.taketoday.util.ConcurrencyThrottleSupport
cn.taketoday.core.task.SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter
- 所有已实现的接口:
Serializable
private static class SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter
extends ConcurrencyThrottleSupport
Subclass of the general ConcurrencyThrottleSupport class,
making
beforeAccess() and afterAccess()
visible to the surrounding class.-
字段概要
从类继承的字段 cn.taketoday.util.ConcurrencyThrottleSupport
logger, NO_CONCURRENCY, UNBOUNDED_CONCURRENCY -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidTo be invoked after the main execution logic of concrete subclasses.protected voidTo be invoked before the main execution logic of concrete subclasses.从类继承的方法 cn.taketoday.util.ConcurrencyThrottleSupport
getConcurrencyLimit, isThrottleActive, setConcurrencyLimit
-
构造器详细资料
-
ConcurrencyThrottleAdapter
private ConcurrencyThrottleAdapter()
-
-
方法详细资料
-
beforeAccess
protected void beforeAccess()从类复制的说明:ConcurrencyThrottleSupportTo be invoked before the main execution logic of concrete subclasses.This implementation applies the concurrency throttle.
-
afterAccess
protected void afterAccess()从类复制的说明:ConcurrencyThrottleSupportTo be invoked after the main execution logic of concrete subclasses.
-