public class ThreadFactoryBuilder extends Object
Constructor | Description |
---|---|
ThreadFactoryBuilder() |
Modifier and Type | Method | Description |
---|---|---|
ThreadFactory |
build() |
Create the
ThreadFactory with the configuration currently applied to this builder. |
ThreadFactoryBuilder |
daemonThreads(Boolean daemonThreads) |
Whether the threads created by the factory should be daemon threads.
|
ThreadFactoryBuilder |
threadNamePrefix(String threadNamePrefix) |
The name prefix for threads created by this thread factory.
|
public ThreadFactoryBuilder threadNamePrefix(String threadNamePrefix)
public ThreadFactoryBuilder daemonThreads(Boolean daemonThreads)
public ThreadFactory build()
ThreadFactory
with the configuration currently applied to this builder.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.