Class SystemAuthorityForkJoinWorkerThreadFactory
java.lang.Object
com.atlassian.bamboo.build.pipeline.concurrent.SystemAuthorityForkJoinWorkerThreadFactory
- All Implemented Interfaces:
ForkJoinPool.ForkJoinWorkerThreadFactory
public class SystemAuthorityForkJoinWorkerThreadFactory
extends Object
implements ForkJoinPool.ForkJoinWorkerThreadFactory
This class is used to create a custom ForkJoinWorkerThreadFactory with system privileges.
All threads created with this factory use SYSTEM_AUTHORITY security context.
- Since:
- 9.4.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SystemAuthorityForkJoinWorkerThreadFactory
public SystemAuthorityForkJoinWorkerThreadFactory()
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceForkJoinPool.ForkJoinWorkerThreadFactory
-