| 程序包 | 说明 |
|---|---|
| com.baidu.brpc | |
| com.baidu.brpc.client | |
| com.baidu.brpc.server | |
| com.baidu.brpc.thread |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ThreadPool |
RpcMethodInfo.threadPool |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPool |
RpcClient.getWorkThreadPool() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ServiceManager.registerService(Class targetClass,
Object service,
ThreadPool threadPool) |
protected void |
ServiceManager.registerService(Method[] methods,
Object service,
ThreadPool threadPool) |
void |
ServiceManager.registerService(Object service,
ThreadPool threadPool) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ThreadPool |
BrpcWorkServerThreadPoolInstance.getInstance() |
static ThreadPool |
BrpcWorkClientThreadPoolInstance.getInstance() |
static ThreadPool |
BrpcWorkServerThreadPoolInstance.getOrCreateInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
static ThreadPool |
BrpcWorkClientThreadPoolInstance.getOrCreateInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
Copyright © 2019 Baidu, Inc.. All rights reserved.