| Modifier and Type | Method and Description | 
|---|---|
| Collection<WorkerSlot> | Nimbus.StandaloneINimbus. allSlotsAvailableForScheduling(Collection<SupervisorDetails> supervisors,
                              Topologies topologies,
                              Set<String> topologiesMissingAssignments) | 
| void | Nimbus.StandaloneINimbus. assignSlots(Topologies topologies,
           Map<String,Collection<WorkerSlot>> newSlotsByTopologyId) | 
| Modifier and Type | Method and Description | 
|---|---|
| Topologies | Cluster. getTopologies() | 
| Topologies | ISchedulingState. getTopologies()Get all of the topologies. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<WorkerSlot> | INimbus. allSlotsAvailableForScheduling(Collection<SupervisorDetails> existingSupervisors,
                              Topologies topologies,
                              Set<String> topologiesMissingAssignments)Returns all slots that are available for the next round of scheduling. | 
| void | INimbus. assignSlots(Topologies topologies,
           Map<String,Collection<WorkerSlot>> newSlotsByTopologyId)this is called after the assignment is changed in ZK. | 
| static void | DefaultScheduler. defaultSchedule(Topologies topologies,
               Cluster cluster) | 
| void | DefaultScheduler. schedule(Topologies topologies,
        Cluster cluster) | 
| void | IScheduler. schedule(Topologies topologies,
        Cluster cluster)Set assignments for the topologies which needs scheduling. | 
| void | IsolationScheduler. schedule(Topologies topologies,
        Cluster cluster) | 
| void | EvenScheduler. schedule(Topologies topologies,
        Cluster cluster) | 
| static void | EvenScheduler. scheduleTopologiesEvenly(Topologies topologies,
                        Cluster cluster) | 
| Constructor and Description | 
|---|
| Cluster(Cluster src,
       Topologies topologies)Testing Constructor that takes an existing cluster and replaces the topologies in it. | 
| Cluster(INimbus nimbus,
       ResourceMetrics resourceMetrics,
       Map<String,SupervisorDetails> supervisors,
       Map<String,? extends SchedulerAssignment> assignments,
       Topologies topologies,
       Map<String,Object> conf) | 
| Topologies(Topologies src)Copy constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BlacklistScheduler. schedule(Topologies topologies,
        Cluster cluster) | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<String> | DefaultBlacklistStrategy. getBlacklist(List<Map<String,Set<Integer>>> supervisorsWithFailures,
            List<Map<String,Integer>> sendAssignmentFailureCount,
            Cluster cluster,
            Topologies topologies) | 
| Set<String> | IBlacklistStrategy. getBlacklist(List<Map<String,Set<Integer>>> badSupervisorsToleranceSlidingWindow,
            List<Map<String,Integer>> sendAssignmentFailureCount,
            Cluster cluster,
            Topologies topologies)Get blacklist by blacklist strategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MultitenantScheduler. schedule(Topologies topologies,
        Cluster cluster) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ResourceAwareScheduler. schedule(Topologies topologies,
        Cluster cluster) | 
Copyright © 2022 The Apache Software Foundation. All rights reserved.