S
- Execution stage typepublic class BlockMasterLogic<S> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockMasterLogic.TimeStatsPerEvent
Class tracking invocation count and elapsed time for a set of events,
each event being having a String name.
|
Constructor and Description |
---|
BlockMasterLogic() |
Modifier and Type | Method and Description |
---|---|
BlockWorkerPieces<S> |
computeNext(long superstep)
Executes operations on master (master compute and registering reducers),
and calculates next pieces to be exectued on workers.
|
void |
initialize(Block executionBlock,
S executionStage,
BlockMasterApi masterApi)
Initialize Master Logic to execute given block, starting
with given executionStage.
|
void |
initialize(GiraphConfiguration conf,
BlockMasterApi masterApi)
Initialize master logic to execute BlockFactory defined in
the configuration.
|
void |
initializeAfterRead(BlockMasterApi masterApi)
Initialize object after deserializing it.
|
public void initialize(GiraphConfiguration conf, BlockMasterApi masterApi)
public void initialize(Block executionBlock, S executionStage, BlockMasterApi masterApi)
public void initializeAfterRead(BlockMasterApi masterApi)
public BlockWorkerPieces<S> computeNext(long superstep)
superstep
- Current superstepCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.