Package | Description |
---|---|
org.tinygroup.tinypc | |
org.tinygroup.tinypc.impl |
Modifier and Type | Method and Description |
---|---|
List<Foreman> |
JobCenter.getForeman(String type)
返回组织某种工作的的空闲工头列表
|
Modifier and Type | Method and Description |
---|---|
void |
JobCenter.registerForeman(Foreman foreman)
注册包工头
|
void |
JobCenter.unregisterForeMan(Foreman foreman)
注销包工头
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractForeman
本地包工头
Created by luoguo on 14-1-8.
|
class |
ForemanSelectAllWorker
包工头 如果有任务分解器,则给每个工人一个子任务执行 如果没有任务解器,则让每个工人执行一次 Created by luoguo on 14-1-8.
|
class |
ForemanSelectOneWorker
只找一个工人进行工作的包工头 Created by luoguo on 14-1-8.
|
Modifier and Type | Method and Description |
---|---|
List<Foreman> |
AbstractJobCenter.getForeman(String type) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJobCenter.registerForeman(Foreman foreman) |
void |
AbstractJobCenter.unregisterForeMan(Foreman foreman) |
Copyright © 2006–2018 TinyGroup. All rights reserved.