public class AutoGrowthTaskQueueGroup<T> extends Object
| 构造器和说明 |
|---|
AutoGrowthTaskQueueGroup(int entityCountPerThread,
int coreThreadCount,
int initThreadCount,
int maxThreadCount,
Func1<Integer,ITaskQueue<T>> newTaskQueue) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCommand(AutoGrowthEntity entity,
T t) |
void |
registerEntity(AutoGrowthEntity entity) |
void |
unregisterEntity(AutoGrowthEntity entity) |
public void registerEntity(AutoGrowthEntity entity) throws Exception
Exceptionpublic void addCommand(AutoGrowthEntity entity, T t) throws TaskQueueException
public void unregisterEntity(AutoGrowthEntity entity) throws Exception
ExceptionCopyright © 2017. All rights reserved.