public class ThreadUtil extends Object
| Constructor and Description |
|---|
ThreadUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getSuitableThreadCount()
通过内核数,算出合适的线程数;1.5-2倍cpu内核数
|
Copyright © 2018–2019 Alibaba Group. All rights reserved.