public interface IStrategy
An interface to for implementing different scheduling strategies for the resource aware scheduling In the future stategies will be pluggable
Modifier and Type | Method and Description |
---|---|
void |
prepare(SchedulingState schedulingState)
initialize prior to scheduling
|
SchedulingResult |
schedule(TopologyDetails td)
This method is invoked to calcuate a scheduling for topology td
|
void prepare(SchedulingState schedulingState)
initialize prior to scheduling
SchedulingResult schedule(TopologyDetails td)
This method is invoked to calcuate a scheduling for topology td
td
- Copyright © 2022 The Apache Software Foundation. All Rights Reserved.