public static class Scufl2Tools.ProcessorSplit extends Object
Scufl2Tools.splitProcessors(Collection, Processor)
.Constructor and Description |
---|
Scufl2Tools.ProcessorSplit(Processor splitPoint,
Set<Processor> upStream,
Set<Processor> downStream,
Set<Processor> unconnected)
Construct a new processor split result.
|
Modifier and Type | Method and Description |
---|---|
Set<Processor> |
getDownStream()
Processors that are downstream from the split point.
|
Processor |
getSplitPoint()
Processor that was used as a split point.
|
Set<Processor> |
getUnconnected()
Processors that are unconnected to the split point.
|
Set<Processor> |
getUpStream()
Processors that are upstream from the split point.
|
public Scufl2Tools.ProcessorSplit(Processor splitPoint, Set<Processor> upStream, Set<Processor> downStream, Set<Processor> unconnected)
splitPoint
- Processor used as split pointupStream
- Processors that are upstream from split pointdownStream
- Processors that are downstream from split pointunconnected
- The rest of the processors, that are by definition
unconnected to split pointpublic Processor getSplitPoint()
public Set<Processor> getUpStream()
public Set<Processor> getDownStream()
public Set<Processor> getUnconnected()
These are processors in the dataflow that are neither upstream, downstream or the split point itself.
Note that this does not imply a total graph separation, for instance
processors in getUpStream()
might have some of these
unconnected processors downstream, but not along the path to the
getSplitPoint()
, or they could be upstream from any
processor in getDownStream()
.
Copyright © 2013 myGrid. All rights reserved.