Uses of Class
org.apache.storm.scheduler.multitenant.Node
Packages that use Node
-
Uses of Node in org.apache.storm.scheduler.multitenant
Fields in org.apache.storm.scheduler.multitenant with type parameters of type NodeModifier and TypeFieldDescriptionstatic final Comparator<Node>Used to sort a list of nodes so the node with the most free slots comes first.NodePool.nodeIdToNodeMethods in org.apache.storm.scheduler.multitenant that return types with arguments of type NodeModifier 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.Methods in org.apache.storm.scheduler.multitenant with parameters of type NodeModifier and TypeMethodDescriptionbooleanNodePool.RoundRobinSlotScheduler.assignSlotTo(Node n) Assign a slot to the given node.Method parameters in org.apache.storm.scheduler.multitenant with type arguments of type NodeModifier and TypeMethodDescriptionstatic intNode.countFreeSlotsAlive(Collection<Node> nodes) static intNode.countSlotsUsed(String topId, Collection<Node> nodes) static intNode.countSlotsUsed(Collection<Node> nodes) static intNode.countTotalSlotsAlive(Collection<Node> nodes) voidvoidInitialize the pool.