Search in sources :

Example 1 with MessageGenerationPhase

use of org.apache.helix.controller.stages.MessageGenerationPhase in project helix by apache.

the class TestP2PStateTransitionMessages method createPipeline.

private Pipeline createPipeline() {
    Pipeline pipeline = new Pipeline("test");
    pipeline.addStage(new ReadClusterDataStage());
    pipeline.addStage(new BestPossibleStateCalcStage());
    pipeline.addStage(new IntermediateStateCalcStage());
    pipeline.addStage(new MessageGenerationPhase());
    pipeline.addStage(new MessageSelectionStage());
    pipeline.addStage(new MessageThrottleStage());
    return pipeline;
}
Also used : ReadClusterDataStage(org.apache.helix.controller.stages.ReadClusterDataStage) BestPossibleStateCalcStage(org.apache.helix.controller.stages.BestPossibleStateCalcStage) IntermediateStateCalcStage(org.apache.helix.controller.stages.IntermediateStateCalcStage) MessageThrottleStage(org.apache.helix.controller.stages.MessageThrottleStage) MessageGenerationPhase(org.apache.helix.controller.stages.MessageGenerationPhase) MessageSelectionStage(org.apache.helix.controller.stages.MessageSelectionStage) Pipeline(org.apache.helix.controller.pipeline.Pipeline)

Aggregations

Pipeline (org.apache.helix.controller.pipeline.Pipeline)1 BestPossibleStateCalcStage (org.apache.helix.controller.stages.BestPossibleStateCalcStage)1 IntermediateStateCalcStage (org.apache.helix.controller.stages.IntermediateStateCalcStage)1 MessageGenerationPhase (org.apache.helix.controller.stages.MessageGenerationPhase)1 MessageSelectionStage (org.apache.helix.controller.stages.MessageSelectionStage)1 MessageThrottleStage (org.apache.helix.controller.stages.MessageThrottleStage)1 ReadClusterDataStage (org.apache.helix.controller.stages.ReadClusterDataStage)1