Package jenkins.util
Class ContextResettingExecutorService
java.lang.Object
jenkins.util.InterceptingExecutorService
jenkins.util.ContextResettingExecutorService
- All Implemented Interfaces:
Executor
,ExecutorService
ExecutorService
wrapper that resets the context classloader.
This protects an executor service from poorly written callable that doesn't restore
thread states correctly.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.util.InterceptingExecutorService
awaitTermination, delegate, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit, toString
-
Constructor Details
-
ContextResettingExecutorService
-
-
Method Details
-
wrap
- Specified by:
wrap
in classInterceptingExecutorService
-
wrap
- Specified by:
wrap
in classInterceptingExecutorService
-