Uses of Class
org.apache.storm.scheduler.multitenant.Node
-
Uses of Node in org.apache.storm.scheduler.multitenant
Modifier and TypeFieldDescriptionstatic final Comparator<Node>
Used to sort a list of nodes so the node with the most free slots comes first.NodePool.nodeIdToNode
Modifier and TypeMethodDescriptionNode.getAllNodesFrom
(Cluster cluster) DefaultPool.takeNodes
(int nodesNeeded) FreePool.takeNodes
(int nodesNeeded) IsolatedPool.takeNodes
(int nodesNeeded) abstract Collection<Node>
NodePool.takeNodes
(int nodesNeeded) Take up to nodesNeeded from this pool.static Collection<Node>
static Collection<Node>
NodePool.takeNodesBySlot
(int slotsNeeded, NodePool[] pools) DefaultPool.takeNodesBySlots
(int slotsNeeded) FreePool.takeNodesBySlots
(int slotsNeeded) IsolatedPool.takeNodesBySlots
(int slotsNeeded) abstract Collection<Node>
NodePool.takeNodesBySlots
(int slotsNeeded) Take nodes from this pool that can fulfill possibly up to the slotsNeeded.Modifier and TypeMethodDescriptionboolean
NodePool.RoundRobinSlotScheduler.assignSlotTo
(Node n) Assign a slot to the given node.Modifier and TypeMethodDescriptionstatic int
Node.countFreeSlotsAlive
(Collection<Node> nodes) static int
Node.countSlotsUsed
(String topId, Collection<Node> nodes) static int
Node.countSlotsUsed
(Collection<Node> nodes) static int
Node.countTotalSlotsAlive
(Collection<Node> nodes) void
void
Initialize the pool.