com.atlassian.bamboo.build.pipeline.concurrent
Class SystemAuthorityThreadFactory
java.lang.Object
com.atlassian.bamboo.build.pipeline.concurrent.SystemAuthorityThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class SystemAuthorityThreadFactory
- extends Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemAuthorityThreadFactory
public SystemAuthorityThreadFactory(String threadName)
SystemAuthorityThreadFactory
public SystemAuthorityThreadFactory(String threadName,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
newThread
@NotNull
public Thread newThread(@NotNull
Runnable r)
- Specified by:
newThread
in interface ThreadFactory
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.