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