public final class ProcessorDependencyGraph
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessorDependencyGraph.ProcessorGraphForkJoinTask
A ForkJoinTask that will create ForkJoinTasks from each root and run each of them.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessorDependencyGraph.ProcessorGraphForkJoinTask |
createTask(Values values)
Create a ForkJoinTask for running in a fork join pool.
|
java.util.Set<Processor<?,?>> |
getAllProcessors()
Create a set containing all the processors in the graph.
|
com.google.common.collect.Multimap<java.lang.String,Processor> |
getAllRequiredAttributes()
Get all the names of inputs that are required to be in the Values object when this graph is executed.
|
java.util.List<ProcessorGraphNode> |
getRoots() |
java.lang.String |
toString() |
void |
toString(java.lang.StringBuilder builder,
int indent,
java.lang.String parent)
Create a string representing the nodes.
|
public ProcessorDependencyGraph.ProcessorGraphForkJoinTask createTask(@Nonnull Values values)
values - the values to use for getting the required inputs of the processor and putting
the output in.public com.google.common.collect.Multimap<java.lang.String,Processor> getAllRequiredAttributes()
public java.util.List<ProcessorGraphNode> getRoots()
public java.lang.String toString()
toString in class java.lang.Objectpublic void toString(java.lang.StringBuilder builder,
int indent,
java.lang.String parent)
builder - the builder to add the string to.indent - the number of steps of indent for this nodeparent - the parent nodepublic java.util.Set<Processor<?,?>> getAllProcessors()