Class SystemAuthorityThreadFactory
java.lang.Object
com.atlassian.bamboo.build.pipeline.concurrent.SystemAuthorityThreadFactory
- All Implemented Interfaces:
ThreadFactory
ThreadFactory
that allows you to name the threads and create a thread with a
All threads created with this factory use SYSTEM_AUTHORITY security context.-
Constructor Summary
ConstructorsConstructorDescriptionSystemAuthorityThreadFactory
(String threadName) SystemAuthorityThreadFactory
(String threadName, Thread.UncaughtExceptionHandler uncaughtExceptionHandler) -
Method Summary
-
Constructor Details
-
SystemAuthorityThreadFactory
-
SystemAuthorityThreadFactory
public SystemAuthorityThreadFactory(String threadName, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-
newThread
-