public final class RackNode extends Node
RackNode
represents a rack node in the cluster topology.Modifier and Type | Method and Description |
---|---|
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 boolean addChild(Node child)
Node
public Set<MachineNode> getMachinesInRack()
Copyright © 2013 Apache Software Foundation. All rights reserved.