/** * Return the list of all merge operations within the dataflow */ public synchronized List<? extends Merge> getMerges() { return getEntities(Merge.class); }
/** * Return the list of all processors within the dataflow */ public synchronized List<? extends Processor> getProcessors() { return getEntities(Processor.class); }
/** * Return the list of all processors within the dataflow */ public synchronized List<? extends Processor> getProcessors() { return getEntities(Processor.class); }
/** * Return the list of all processors within the dataflow */ public synchronized List<? extends Processor> getProcessors() { return getEntities(Processor.class); }
/** * Return the list of all merge operations within the dataflow */ public synchronized List<? extends Merge> getMerges() { return getEntities(Merge.class); }
/** * Return the list of all merge operations within the dataflow */ public synchronized List<? extends Merge> getMerges() { return getEntities(Merge.class); }
for (ProcessorImpl p : getEntities(ProcessorImpl.class)) { p.registerWithMonitor(owningProcess); if (p.getInputPorts().isEmpty()) {
for (Processor p : getEntities(Processor.class)) { MonitorManager.getInstance().deregisterNode( owningProcess + ":" + p.getLocalName());
/** * For each processor input, merge input and workflow output get the * incoming link and, if non null, add to a list and return the entire list. */ public synchronized List<? extends Datalink> getLinks() { List<Datalink> result = new ArrayList<Datalink>(); // All processors have a set of input ports each of which has at most // one incoming data link for (TokenProcessingEntity p : getEntities(TokenProcessingEntity.class)) { for (EventHandlingInputPort pip : p.getInputPorts()) { Datalink dl = pip.getIncomingLink(); if (dl != null) { result.add(dl); } } } // Workflow outputs have zero or one incoming data link to their // internal input port for (DataflowOutputPort dop : getOutputPorts()) { Datalink dl = dop.getInternalInputPort().getIncomingLink(); if (dl != null) { result.add(dl); } } return result; }
/** * For each processor input, merge input and workflow output get the * incoming link and, if non null, add to a list and return the entire list. */ public synchronized List<? extends Datalink> getLinks() { List<Datalink> result = new ArrayList<Datalink>(); // All processors have a set of input ports each of which has at most // one incoming data link for (TokenProcessingEntity p : getEntities(TokenProcessingEntity.class)) { for (EventHandlingInputPort pip : p.getInputPorts()) { Datalink dl = pip.getIncomingLink(); if (dl != null) { result.add(dl); } } } // Workflow outputs have zero or one incoming data link to their // internal input port for (DataflowOutputPort dop : getOutputPorts()) { Datalink dl = dop.getInternalInputPort().getIncomingLink(); if (dl != null) { result.add(dl); } } return result; }
for (ProcessorImpl p : getEntities(ProcessorImpl.class)) { p.registerWithMonitor(owningProcess); if (p.getInputPorts().isEmpty()) {
/** * For each processor input, merge input and workflow output get the * incoming link and, if non null, add to a list and return the entire list. */ public synchronized List<? extends Datalink> getLinks() { List<Datalink> result = new ArrayList<Datalink>(); // All processors have a set of input ports each of which has at most // one incoming data link for (TokenProcessingEntity p : getEntities(TokenProcessingEntity.class)) { for (EventHandlingInputPort pip : p.getInputPorts()) { Datalink dl = pip.getIncomingLink(); if (dl != null) { result.add(dl); } } } // Workflow outputs have zero or one incoming data link to their // internal input port for (DataflowOutputPort dop : getOutputPorts()) { Datalink dl = dop.getInternalInputPort().getIncomingLink(); if (dl != null) { result.add(dl); } } return result; }
for (ProcessorImpl p : getEntities(ProcessorImpl.class)) { p.registerWithMonitor(owningProcess); if (p.getInputPorts().isEmpty()) {
for (Processor p : getEntities(Processor.class)) { MonitorManager.getInstance().deregisterNode( owningProcess + ":" + p.getLocalName());
getEntities(TokenProcessingEntity.class));
getEntities(TokenProcessingEntity.class));
getEntities(TokenProcessingEntity.class));