Package jenkins.util
Class ErrorLoggingExecutorService
java.lang.Object
jenkins.util.InterceptingExecutorService
jenkins.util.ErrorLoggingExecutorService
- All Implemented Interfaces:
AutoCloseable,Executor,ExecutorService
Executor service that logs unchecked exceptions / errors in
Runnable.
Exceptions thrown from Callable are not not logged,
under the assumption that something is checking Future.get().- Since:
- 2.380
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jenkins.util.InterceptingExecutorService
awaitTermination, delegate, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
close
-
Constructor Details
-
ErrorLoggingExecutorService
-
-
Method Details
-
wrap
- Specified by:
wrapin classInterceptingExecutorService
-
wrap
- Specified by:
wrapin classInterceptingExecutorService
-