| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.rpc.config | |
| com.alipay.sofa.rpc.server |
| 限定符和类型 | 方法和说明 |
|---|---|
static UserThreadPool |
UserThreadPoolManager.getUserThread(String service)
得到用户线程池
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
UserThreadPoolManager.registerUserThread(String service,
UserThreadPool userThreadPool)
给某个服务分配到独立的线程池
|
| 限定符和类型 | 方法和说明 |
|---|---|
UserThreadPool |
UserThreadPool.setAllowCoreThreadTimeOut(boolean allowCoreThreadTimeOut)
Sets allow core thread time out.
|
UserThreadPool |
UserThreadPool.setCorePoolSize(int corePoolSize)
Sets core pool size.
|
UserThreadPool |
UserThreadPool.setKeepAliveTime(int keepAliveTime)
Sets keep alive time.
|
UserThreadPool |
UserThreadPool.setMaximumPoolSize(int maximumPoolSize)
Sets maximum pool size.
|
UserThreadPool |
UserThreadPool.setPrestartAllCoreThreads(boolean prestartAllCoreThreads)
Sets prestart all core threads.
|
UserThreadPool |
UserThreadPool.setQueueSize(int queueSize)
Sets queue size.
|
UserThreadPool |
UserThreadPool.setThreadPoolName(String threadPoolName)
Sets thread pool name.
|
Copyright © 2008–2018 The Ant Financial. All rights reserved.