public class TimeoutThreadPoolBuilder extends Object
ScheduledThreadPoolExecutor for the request timeout and client
execution timeout features| Constructor | Description |
|---|---|
TimeoutThreadPoolBuilder() |
| Modifier and Type | Method | 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.