public class DefaultMasterComputation extends Object implements MasterComputation
| 构造器和说明 |
|---|
DefaultMasterComputation() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(MasterContext context)
Close the resource created in
MasterComputation.init(MasterContext). |
boolean |
compute(MasterComputationContext context)
Compute until max superstep.
|
void |
init(MasterContext context)
Initialize the master-computation.
|
public void init(MasterContext context)
MasterComputationinit 在接口中 MasterComputationpublic boolean compute(MasterComputationContext context)
compute 在接口中 MasterComputationpublic void close(MasterContext context)
MasterComputationMasterComputation.init(MasterContext).
Be called after all supersteps.close 在接口中 MasterComputationCopyright © 2020–2021. All rights reserved.