MASTER_RESULT - master result for computation in each iteration.WORKER_RESULT - worker result for computation in each iteration.public class SyncCoordinatorFactory<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> extends Object implements CoordinatorFactory<MASTER_RESULT,WORKER_RESULT>
| Constructor and Description |
|---|
SyncCoordinatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
MasterInterceptor<MASTER_RESULT,WORKER_RESULT> |
createMasterCoordinator()
Create coordinator instance for master.
|
WorkerInterceptor<MASTER_RESULT,WORKER_RESULT> |
createWorkerCoordinator()
Create coordinator instance for worker.
|
public MasterInterceptor<MASTER_RESULT,WORKER_RESULT> createMasterCoordinator()
CoordinatorFactorycreateMasterCoordinator in interface CoordinatorFactory<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>public WorkerInterceptor<MASTER_RESULT,WORKER_RESULT> createWorkerCoordinator()
CoordinatorFactorycreateWorkerCoordinator in interface CoordinatorFactory<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>Copyright © 2019. All Rights Reserved.