public class BrpcWorkServerThreadPoolInstance extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static ThreadPool |
getInstance() |
static String |
getName() |
static ThreadPool |
getOrCreateInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
static void |
setName(String name) |
public static ThreadPool getOrCreateInstance(int threadNum)
public static ThreadPool getInstance()
public static String getName()
public static void setName(String name)
Copyright © 2019 Baidu, Inc.. All rights reserved.