Interface SchedulingEditPolicy

All Known Implementing Classes:
AutoCreatedQueueDeletionPolicy, InvariantsChecker, MetricsInvariantChecker, ProportionalCapacityPreemptionPolicy, QueueConfigurationAutoRefreshPolicy, QueueManagementDynamicEditPolicy, ReservationInvariantsChecker

public interface SchedulingEditPolicy
  • Method Details

    • init

      void init(org.apache.hadoop.conf.Configuration config, RMContext context, ResourceScheduler scheduler)
    • editSchedule

      void editSchedule()
      This method is invoked at regular intervals. Internally the policy is allowed to track containers and affect the scheduler. The "actions" performed are passed back through an EventHandler.
    • getMonitoringInterval

      long getMonitoringInterval()
    • getPolicyName

      String getPolicyName()