|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.util.ConcurrencyThrottleSupport org.springframework.core.task.SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter
private static class SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter
Subclass of the general ConcurrencyThrottleSupport class,
making beforeAccess()
and afterAccess()
visible to the surrounding class.
Field Summary |
---|
Fields inherited from class org.springframework.util.ConcurrencyThrottleSupport |
---|
logger, NO_CONCURRENCY, UNBOUNDED_CONCURRENCY |
Constructor Summary | |
---|---|
private |
SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter()
|
Method Summary | |
---|---|
protected void |
afterAccess()
To be invoked after the main execution logic of concrete subclasses. |
protected void |
beforeAccess()
To be invoked before the main execution logic of concrete subclasses. |
Methods inherited from class org.springframework.util.ConcurrencyThrottleSupport |
---|
getConcurrencyLimit, isThrottleActive, setConcurrencyLimit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private SimpleAsyncTaskExecutor.ConcurrencyThrottleAdapter()
Method Detail |
---|
protected void beforeAccess()
ConcurrencyThrottleSupport
This implementation applies the concurrency throttle.
beforeAccess
in class ConcurrencyThrottleSupport
ConcurrencyThrottleSupport.afterAccess()
protected void afterAccess()
ConcurrencyThrottleSupport
afterAccess
in class ConcurrencyThrottleSupport
ConcurrencyThrottleSupport.beforeAccess()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |