| Package | Description |
|---|---|
| com.baidu.brpc | |
| com.baidu.brpc.client.handler | |
| com.baidu.brpc.server | |
| com.baidu.brpc.thread |
| Modifier and Type | Field and Description |
|---|---|
protected ThreadPool |
RpcMethodInfo.threadPool |
| Constructor and Description |
|---|
RpcClientHandler(ThreadPool workThreadPool,
ExecutorService exceptionThreadPool) |
| Modifier and Type | Field and Description |
|---|---|
protected ThreadPool |
CommunicationServer.threadPool |
| Modifier and Type | Field and Description |
|---|---|
protected List<ThreadPool> |
CommunicationServer.customThreadPools |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadPool |
ServerWorkThreadPoolInstance.getInstance() |
ThreadPool |
BrpcThreadPoolManager.getOrCreateClientWorkThreadPool(String serviceName,
boolean isSharing,
int threadNum) |
static ThreadPool |
ServerWorkThreadPoolInstance.getOrCreateInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
Copyright © 2022 Baidu, Inc.. All rights reserved.