Modifier and Type | Method and Description |
---|---|
TopologyDetails |
Topologies.getById(String topologyId) |
TopologyDetails |
Topologies.getByName(String topologyName) |
Modifier and Type | Method and Description |
---|---|
Collection<TopologyDetails> |
Topologies.getTopologies() |
List<TopologyDetails> |
Cluster.needsSchedulingTopologies(Topologies topologies) |
Modifier and Type | Method and Description |
---|---|
int |
Cluster.getAssignedNumWorkers(TopologyDetails topology) |
Map<String,List<ExecutorDetails>> |
Cluster.getNeedsSchedulingComponentToExecutors(TopologyDetails topology) |
Map<ExecutorDetails,String> |
Cluster.getNeedsSchedulingExecutorToComponents(TopologyDetails topology) |
Collection<ExecutorDetails> |
Cluster.getUnassignedExecutors(TopologyDetails topology)
get the unassigned executors of the topology.
|
boolean |
Cluster.needsScheduling(TopologyDetails topology)
Does the topology need scheduling?
|
Constructor and Description |
---|
Topologies(Map<String,TopologyDetails> topologies) |
Modifier and Type | Method and Description |
---|---|
abstract void |
NodePool.addTopology(TopologyDetails td)
Add a topology to the pool
|
void |
IsolatedPool.addTopology(TopologyDetails td) |
void |
FreePool.addTopology(TopologyDetails td) |
void |
DefaultPool.addTopology(TopologyDetails td) |
abstract boolean |
NodePool.canAdd(TopologyDetails td)
Check if this topology can be added to this pool
|
boolean |
IsolatedPool.canAdd(TopologyDetails td) |
boolean |
FreePool.canAdd(TopologyDetails td) |
boolean |
DefaultPool.canAdd(TopologyDetails td) |
Constructor and Description |
---|
RoundRobinSlotScheduler(TopologyDetails td,
int slotsToUse,
Cluster cluster)
Create a new scheduler for a given topology
|
Modifier and Type | Method and Description |
---|---|
TopologyDetails |
RAS_Node.findTopologyUsingWorker(WorkerSlot ws)
Find a which topology is running on a worker slot
|
TopologyDetails |
User.getNextTopologyToSchedule() |
TopologyDetails |
User.getRunningTopologyWithLowestPriority() |
Modifier and Type | Method and Description |
---|---|
Set<TopologyDetails> |
User.getTopologiesAttempted() |
Set<TopologyDetails> |
User.getTopologiesInvalid() |
Set<TopologyDetails> |
User.getTopologiesPending() |
Set<TopologyDetails> |
User.getTopologiesRunning() |
Modifier and Type | Method and Description |
---|---|
boolean |
IEvictionStrategy.makeSpaceForTopo(TopologyDetails td)
This method when invoked should attempt to make space on the cluster so that the topology specified can be scheduled
|
boolean |
DefaultEvictionStrategy.makeSpaceForTopo(TopologyDetails td) |
Modifier and Type | Method and Description |
---|---|
TopologyDetails |
ISchedulingPriorityStrategy.getNextTopologyToSchedule()
Gets the next topology to schedule
|
TopologyDetails |
DefaultSchedulingPriorityStrategy.getNextTopologyToSchedule() |
Modifier and Type | Method and Description |
---|---|
SchedulingResult |
IStrategy.schedule(TopologyDetails td)
This method is invoked to calcuate a scheduling for topology td
|
SchedulingResult |
DefaultResourceAwareStrategy.schedule(TopologyDetails td) |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.