public class DefaultFailoverTopology extends Object implements FailoverTopology
FailoverTopology
which is an adaptor of ExecutionGraph
.Constructor and Description |
---|
DefaultFailoverTopology(ExecutionGraph executionGraph) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsCoLocationConstraints()
Returns whether the topology contains co-location constraints.
|
Iterable<? extends FailoverVertex> |
getFailoverVertices()
Returns an iterable over all vertices, topologically sorted.
|
public DefaultFailoverTopology(ExecutionGraph executionGraph)
public Iterable<? extends FailoverVertex> getFailoverVertices()
FailoverTopology
getFailoverVertices
in interface FailoverTopology
public boolean containsCoLocationConstraints()
FailoverTopology
containsCoLocationConstraints
in interface FailoverTopology
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.