public class TimeoutThreadPoolBuilder extends Object
ScheduledThreadPoolExecutor for the request timeout and client
execution timeout features| Constructor and Description |
|---|
TimeoutThreadPoolBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledThreadPoolExecutor |
buildDefaultTimeoutThreadPool(String name)
Creates a
ScheduledThreadPoolExecutor with custom name for the threads. |
public static ScheduledThreadPoolExecutor buildDefaultTimeoutThreadPool(String name)
ScheduledThreadPoolExecutor with custom name for the threads.name - the prefix to add to the thread name in ThreadFactory.