/** * * @param gm * @param input _in_ Schema T input pipes that will be distributed * @param outputs _out_ Pipes on which the input pipe will be distributed on */ public RoundRobinRouteStage(GraphManager gm, Pipe<T> input, Pipe<T> ... outputs) { super(gm,input,outputs); this.inputRing = input; this.outputRings = outputs; this.targetRingInit = outputs.length-1; this.targetRing = targetRingInit; this.supportsBatchedPublish = true; this.supportsBatchedRelease = true; assert(validateTargetSize(input, outputs)) : "output pipes must be as large or larger than input"; }
this.requestShutdown(); return;
GraphManager.addNota(gm, GraphManager.SCHEDULE_RATE, Integer.valueOf(0), new RoundRobinRouteStage(gm, rings[j++], splitsBuffers)); } else { GraphManager.addNota(gm, GraphManager.SCHEDULE_RATE, Integer.valueOf(0), new ReplicatorStage(gm, rings[j++], splitsBuffers));