public class DeadlockPreventer extends Object implements Visitor<PlanNode>
| Constructor and Description |
|---|
DeadlockPreventer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasDeadlock(List<? extends PlanNode> sinks)
Creates new DeadlockGraph from plan and checks for cycles
|
void |
postVisit(PlanNode visitable) |
boolean |
preVisit(PlanNode visitable) |
void |
resolveDeadlocks(List<? extends PlanNode> sinks) |
Copyright © 2014 The Apache Software Foundation. All rights reserved.