public class FailoverUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
getFailoverNodesRecursively(String nodeName,
Map<String,List<String>> failoverMatrix,
Set<String> failoverNodes)
Get the node names to which the node given by #nodeName should provide failover to.
|
public static void getFailoverNodesRecursively(String nodeName, Map<String,List<String>> failoverMatrix, Set<String> failoverNodes)
nodeName
- node of which want to find the failover nodesfailoverMatrix
- failover matrixfailoverNodes
- set of failover nodesCopyright © 2016–2019 AdroitLogic. All rights reserved.