| Package | Description |
|---|---|
| com.linecorp.armeria.common.util |
Generic utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadFactoryBuilder |
ThreadFactories.builder(String threadNamePrefix)
Returns a new builder which builds a new
ThreadFactory. |
ThreadFactoryBuilder |
ThreadFactoryBuilder.daemon(boolean daemon)
Sets daemon for new threads.
|
ThreadFactoryBuilder |
ThreadFactoryBuilder.eventLoop(boolean eventLoop)
Sets event loop for new threads.
|
ThreadFactoryBuilder |
ThreadFactoryBuilder.priority(int priority)
Sets priority for new threads.
|
ThreadFactoryBuilder |
ThreadFactoryBuilder.taskFunction(Function<? super Runnable,? extends Runnable> taskFunction)
Sets task function for new threads.
|
ThreadFactoryBuilder |
ThreadFactoryBuilder.threadGroup(ThreadGroup threadGroup)
Sets thread group for new threads.
|
Copyright © 2020 LeanCloud. All rights reserved.