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.| Constructor and Description |
|---|
SystemAuthorityThreadFactory(String threadName) |
SystemAuthorityThreadFactory(String threadName,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler) |
public SystemAuthorityThreadFactory(String threadName)
public SystemAuthorityThreadFactory(String threadName, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
@NotNull public Thread newThread(@NotNull Runnable r)
newThread in interface ThreadFactoryCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.