public class ServerWorkThreadPoolInstance extends Object
| Modifier and Type | Method and Description |
|---|---|
static ThreadPool |
getInstance() |
static String |
getName() |
static ThreadPool |
getOrCreateInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
static void |
setName(String name) |
public static ThreadPool getOrCreateInstance(int threadNum)
public static ThreadPool getInstance()
public static String getName()
public static void setName(String name)
Copyright © 2022 Baidu, Inc.. All rights reserved.