Package org.jppf.node.protocol.graph
Interface TaskNodeVisitor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Visitor interface for a graph of tasks with dependencies.
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidpostVisitNode(TaskGraph.Node node) Called after visiting the specified node.default voidpreVisitNode(TaskGraph.Node node) Called before visiting the specified node.visitTaskNode(TaskGraph.Node node) Visit the specified node.
-
Method Details
-
visitTaskNode
Visit the specified node.- Parameters:
node- the node to visit.- Returns:
- the result of the node's visit as a
TaskNodeVisitResultenum element.
-
preVisitNode
Called before visiting the specified node.- Parameters:
node- the node to visit.
-
postVisitNode
Called after visiting the specified node.- Parameters:
node- the node to visit.
-