public class Threads extends Object
Threads()
static int
getAvailableThreadNum(float blockRate)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Threads()
public static int getAvailableThreadNum(float blockRate)
线程分工原则: 计算密集型尽量少创建线程,多分段处理; IO密集型尽量多创建线程
blockRate
Copyright © 2020. All rights reserved.