protected PronghornStage(GraphManager graphManager, Pipe[] inputs, Pipe[] outputs) { assert(null!=inputs) : "Use NONE"; assert(null!=outputs) : "Use NONE"; //logger.trace("register new pronghorn stage started"); this.stageId = GraphManager.newStageId(graphManager); this.boxedStageId = this.stageId; this.hash = PronghornStage.class.hashCode() ^ stageId; this.graphManager = graphManager; GraphManager.register(graphManager, this, inputs, outputs); GraphManager.addNota(graphManager, GraphManager.THREAD_GROUP, null, this); //This provides room for assignment later //logger.trace("register new pronghorn stage done"); }
protected PronghornStage(GraphManager graphManager, Pipe input, Pipe output) { assert(input!=null) : "input must not be null"; assert(output!=null) : "output must not be null"; this.stageId = GraphManager.newStageId(graphManager); this.boxedStageId = this.stageId; this.hash = PronghornStage.class.hashCode() ^ stageId; this.graphManager = graphManager; GraphManager.register(graphManager, this, input, output); GraphManager.addNota(graphManager, GraphManager.THREAD_GROUP, null, this);//This provides room for assignment later }
protected PronghornStage(GraphManager graphManager, Pipe[] inputs, Pipe output) { assert(null!=inputs) : "Use NONE"; assert(null!=output) : "Use NONE"; assert(noContainedNull(inputs)) : "Null disovered in inputs array"; assert(output!=null); this.stageId = GraphManager.newStageId(graphManager); this.boxedStageId = this.stageId; this.hash = PronghornStage.class.hashCode() ^ stageId; this.graphManager = graphManager; GraphManager.register(graphManager, this, inputs, output); GraphManager.addNota(graphManager, GraphManager.THREAD_GROUP, null, this);//This provides room for assignment later }
protected PronghornStage(GraphManager graphManager, Pipe input, Pipe[] outputs) { assert(null!=input) : "Use NONE"; assert(null!=outputs) : "Use NONE"; assert(noContainedNull(outputs)) : "Null disovered in outputs array"; assert(input!=null); this.stageId = GraphManager.newStageId(graphManager); this.boxedStageId = this.stageId; this.hash = PronghornStage.class.hashCode() ^ stageId; this.graphManager = graphManager; GraphManager.register(graphManager, this, input, outputs); GraphManager.addNota(graphManager, GraphManager.THREAD_GROUP, null, this);//This provides room for assignment later }