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 Classes Modifier and Type Class Description static class
SystemAuthorityForkJoinWorkerThreadFactory.SystemAuthorityWorkerThread
-
Constructor Summary
Constructors Constructor Description SystemAuthorityForkJoinWorkerThreadFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForkJoinWorkerThread
newThread(ForkJoinPool pool)
-
-
-
Method Detail
-
newThread
public ForkJoinWorkerThread newThread(ForkJoinPool pool)
- Specified by:
newThread
in interfaceForkJoinPool.ForkJoinWorkerThreadFactory
-
-