public interface Matcher
| Modifier and Type | Field and Description |
|---|---|
static Matcher |
ANY_OTHER
Match any datanode with any other datanode.
|
static Matcher |
SAME_NODE_GROUP
Match datanodes in the same node group.
|
static Matcher |
SAME_RACK
Match datanodes in the same rack.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(NetworkTopology cluster,
Node left,
Node right)
Given the cluster topology, does the left node match the right node?
|
static final Matcher SAME_NODE_GROUP
boolean match(NetworkTopology cluster, Node left, Node right)
Copyright © 2018 CERN. All Rights Reserved.