SystemAuthorityThreadFactory
@Deprecated public class NamedThreadFactory 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 |
---|
NamedThreadFactory(String threadName)
Deprecated.
|
NamedThreadFactory(String threadName,
Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
Deprecated.
|
public NamedThreadFactory(String threadName)
public NamedThreadFactory(String threadName, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
@NotNull public Thread newThread(@NotNull Runnable r)
newThread
in interface ThreadFactory
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.