public class ApolloThreadFactory extends Object implements ThreadFactory
| Modifier and Type | Method and Description |
|---|---|
static ThreadFactory |
create(String namePrefix,
boolean daemon) |
static ThreadGroup |
getThreadGroup() |
Thread |
newThread(Runnable runnable) |
static boolean |
waitAllShutdown(int timeoutInMillis) |
public static ThreadGroup getThreadGroup()
public static ThreadFactory create(String namePrefix, boolean daemon)
public static boolean waitAllShutdown(int timeoutInMillis)
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactoryCopyright © 2018 Ctrip, Inc.. All rights reserved.