Package | Description |
---|---|
org.tinygroup.tinypc | |
org.tinygroup.tinypc.dlock | |
org.tinygroup.tinypc.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
Foreman
包工头 包工头用于带着一组工人并完成对应的任务 Created by luoguo on 14-1-8.
|
interface |
ParallelObject
标识
Created by luoguo on 14-1-8.
|
interface |
WorkCombiner
结果合并者
工作进行分解后,分解执行后的结果如果需要进行合并,这个时候可以用结果合并者来完成
Created by luoguo on 14-1-8.
|
interface |
Worker
工人,用于干具体的工作 Created by luoguo on 14-1-8.
|
interface |
WorkQueue
Created by luoguo on 14-1-23.
|
interface |
WorkSplitter
任务分解者
为了加快处理速度,需要对工作进行分解,这个时候就需要任务分解器来处理
Created by luoguo on 14-1-8.
|
interface |
WorkSplitterCombiner
结果分解合并器
它即可以做工作分解,又可以对结果进行合并
Created by luoguo on 14-1-8.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DistributedLock
分布式锁对象
Created by luoguo on 14-1-9.
|
Modifier and Type | Class and Description |
---|---|
class |
DistributedLockImpl
Created by luoguo on 14-1-9.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractForeman
本地包工头
Created by luoguo on 14-1-8.
|
class |
AbstractWorker
抽象工人,建议所有的工人都继承自此类
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.
|
class |
WorkQueueImpl
Created by luoguo on 14-1-23.
|
Copyright © 2006–2018 TinyGroup. All rights reserved.