| Interface | Description |
|---|---|
| MasterComputable<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
MasterComputable defines master computation for any guagua application. |
| MasterContext.MasterCompletionCallBack<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
Define callback for compeletion of master computation.
|
| MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
MasterInterceptor defines hook points for each guagua application. |
| Class | Description |
|---|---|
| AbstractMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
AbstractMasterCoordinator has some common implementation for both async and sync worker coordinator. |
| AsyncMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
AsyncMasterCoordinator is used to as a barrier for each iteration. |
| BasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
Empty
MasterInterceptor implementation for user to choose which function should be override. |
| GcMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
GcMasterInterceptor is used to log gc time of preXXXX of interceptors, master computation and postXXXX of
interceptors. |
| GuaguaMasterService<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
GuaguaMasterService is the basic implementation as a master for whole guagua application process. |
| HookMasterComputable<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
Common
MasterComputable abstraction to define HookMasterComputable.setup(MasterContext) and
HookMasterComputable.cleanup(MasterContext) hooks. |
| LocalMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
LocalMasterCoordinator is local coordinator implementation in one jvm instance. |
| MasterComputableTimer<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
MasterComputableTimer is used to print execution time for master computation. |
| MasterContext<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
MasterContext is a context object which contains all useful info used in master computation. |
| 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. |
| MemoryStatsMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
MemoryStatsMasterInterceptor is used to print memory usage for each master checkpoint. |
| NettyMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
A master coordinator to coordinate with workers through Netty server.
|
| SyncMasterCoordinator<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
SyncMasterCoordinator is used to as a barrier for each iteration. |
| TraceMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> |
TraceMasterInterceptor is used to trace whole application for master. |
com.paypal.guagua.master.GuaguaMasterService is a implementation to do master computation and master
interceptors.
Master coordinator, memory profiler and timer such kind of useful interceptors are included in this package.
Copyright © 2015. All Rights Reserved.