| Package | Description |
|---|---|
| ml.shifu.guagua |
This package contains some common classes for both master and worker.
|
| ml.shifu.guagua.master |
This package contains guagua master implementation.
|
| Modifier and Type | Method and Description |
|---|---|
MasterInterceptor<MASTER_RESULT,WORKER_RESULT> |
SyncCoordinatorFactory.createMasterCoordinator() |
MasterInterceptor<MASTER_RESULT,WORKER_RESULT> |
CoordinatorFactory.createMasterCoordinator()
Create coordinator instance for master.
|
MasterInterceptor<MASTER_RESULT,WORKER_RESULT> |
AsyncCoordinatorFactory.createMasterCoordinator() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
AbstractMasterCoordinator has some common implementation for both async and sync worker coordinator. |
class |
AsyncMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
AsyncMasterCoordinator is used to as a barrier for each iteration. |
class |
BasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
Empty
MasterInterceptor implementation for user to choose which function should be override. |
class |
LocalMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
LocalMasterCoordinator is local coordinator implementation in one jvm instance. |
class |
MasterComputableTimer<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
MasterComputableTimer is used to print execution time for master computation. |
class |
MasterTimer<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
MasterTimer is used to log execution time of preXXXX of interceptors, master computation and postXXXX of
interceptors. |
class |
MemoryStatsMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
MemoryStatsMasterInterceptor is used to print memory usage for each master checkpoint. |
class |
NettyMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
A master coordinator to coordinate with workers through Netty server.
|
class |
SyncMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
SyncMasterCoordinator is used to as a barrier for each iteration. |
class |
TraceMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
TraceMasterInterceptor is used to trace whole application for master. |
| Modifier and Type | Method and Description |
|---|---|
List<MasterInterceptor<MASTER_RESULT,WORKER_RESULT>> |
GuaguaMasterService.getMasterInterceptors() |
| Modifier and Type | Method and Description |
|---|---|
void |
GuaguaMasterService.addMasterInterceptors(MasterInterceptor<MASTER_RESULT,WORKER_RESULT> masterInterceptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
GuaguaMasterService.setMasterInterceptors(List<MasterInterceptor<MASTER_RESULT,WORKER_RESULT>> masterInterceptors) |
Copyright © 2015. All Rights Reserved.