|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Matcher
A matcher interface for matching nodes.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
match(org.apache.hadoop.net.NetworkTopology cluster,
org.apache.hadoop.net.Node left,
org.apache.hadoop.net.Node right)
Given the cluster topology, does the left node match the right node? |
Field Detail |
---|
static final Matcher SAME_NODE_GROUP
static final Matcher SAME_RACK
static final Matcher ANY_OTHER
Method Detail |
---|
boolean match(org.apache.hadoop.net.NetworkTopology cluster, org.apache.hadoop.net.Node left, org.apache.hadoop.net.Node right)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |