Package | Description |
---|---|
org.apache.commons.lang3.concurrent |
Provides support classes for multi-threaded programming.
|
Modifier and Type | Method and Description |
---|---|
BasicThreadFactory.Builder |
BasicThreadFactory.Builder.daemon(boolean f)
Sets the daemon flag for the new
BasicThreadFactory . |
BasicThreadFactory.Builder |
BasicThreadFactory.Builder.namingPattern(java.lang.String pattern)
Sets the naming pattern to be used by the new
BasicThreadFactory . |
BasicThreadFactory.Builder |
BasicThreadFactory.Builder.priority(int prio)
Sets the priority for the threads created by the new
BasicThreadFactory . |
BasicThreadFactory.Builder |
BasicThreadFactory.Builder.uncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler handler)
Sets the uncaught exception handler for the threads created by the
new
BasicThreadFactory . |
BasicThreadFactory.Builder |
BasicThreadFactory.Builder.wrappedFactory(java.util.concurrent.ThreadFactory factory)
Sets the
ThreadFactory to be wrapped by the new BasicThreadFactory . |
Constructor and Description |
---|
BasicThreadFactory(BasicThreadFactory.Builder builder)
Creates a new instance of
ThreadFactoryImpl and configures it
from the specified Builder object. |