Class ConfluenceExecutors
java.lang.Object
com.atlassian.confluence.impl.util.concurrent.ConfluenceExecutors
Deprecated.
since 5.10. Code should be delegating to a product-managed executor service instead.
A set of utility methods for creating concurrent executors. This should be used in preference to the standard
Executors
factory class. Executors created via this class will automatically wrap the tasks in a VCache
request context.
Note that this class is immediately deprecated. Application code should not be creating its own executors, but should be having them injected in from outside.
This class will likely be removed as part of the Vertigo work, since application-managed thread pools will be banned.
- Since:
- 5.10
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorService
wrap
(ExecutorService delegate, TaskWrapper... taskWrappers) Deprecated.
-
Field Details
-
THREAD_LOCAL_CONTEXT_TASK_WRAPPER
Deprecated.
-
-
Constructor Details
-
ConfluenceExecutors
public ConfluenceExecutors()Deprecated.
-
-
Method Details
-
wrap
Deprecated.
-