软件包 ml.shifu.guagua.master

This package contains guagua master implementation.

请参见:
          描述

接口摘要
MasterComputable<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> MasterComputable defines master computation for any guagua application.
MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> MasterInterceptor defines hook points for each guagua application.
 

类摘要
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.
GuaguaMasterService<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> GuaguaMasterService is the basic implementation as a master for whole guagua application process.
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.
 

软件包 ml.shifu.guagua.master 的描述

This package contains guagua master implementation.

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.