Class NamedThreadFactory
- java.lang.Object
-
- com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
@Deprecated public class NamedThreadFactory extends Object implements ThreadFactory
Deprecated.since 5.3, useSystemAuthorityThreadFactory
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 Summary
Constructors Constructor Description NamedThreadFactory(String threadName)
Deprecated.NamedThreadFactory(String threadName, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull Thread
newThread(@NotNull Runnable r)
Deprecated.
-
-
-
Constructor Detail
-
NamedThreadFactory
public NamedThreadFactory(String threadName)
Deprecated.
-
NamedThreadFactory
public NamedThreadFactory(String threadName, Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
Deprecated.
-
-
Method Detail
-
newThread
@NotNull public @NotNull Thread newThread(@NotNull @NotNull Runnable r)
Deprecated.- Specified by:
newThread
in interfaceThreadFactory
-
-