public final class RackNode extends Node
RackNode
represents a rack node in the cluster topology.限定符和类型 | 方法和说明 |
---|---|
boolean |
addChild(Node child)
Add a child node to this node.
|
Set<MachineNode> |
getMachinesInRack()
Get the machine nodes that belong to the rack.
|
compareTo, equals, getChildren, getLevel, getName, getParent, hasChildren, hashCode, toString
public RackNode(String name, int level)
public Set<MachineNode> getMachinesInRack()
Copyright © 2009 The Apache Software Foundation