public class ApolloThreadFactory extends Object implements ThreadFactory
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ThreadFactoryCopyright © 2019 Ctrip, Inc.. All rights reserved.