| Constructor and Description |
|---|
NodePool.RoundRobinSlotScheduler(TopologyDetails td,
int slotsToUse,
Cluster cluster)
Create a new scheduler for a given topology
|
public NodePool.RoundRobinSlotScheduler(TopologyDetails td, int slotsToUse, Cluster cluster)
td - the topology to scheduleslotsToUse - the number of slots to use for the executors left to
schedule.cluster - the cluster to schedule this on.public boolean assignSlotTo(Node n)
n - the node to assign a slot to.Copyright © 2015. All rights reserved.