org.apache.hadoop.yarn.server.resourcemanager.monitor
Interface SchedulingEditPolicy

All Known Implementing Classes:
ProportionalCapacityPreemptionPolicy

public interface SchedulingEditPolicy


Method Summary
 void editSchedule()
          This method is invoked at regular intervals.
 long getMonitoringInterval()
           
 String getPolicyName()
           
 void init(org.apache.hadoop.conf.Configuration config, org.apache.hadoop.yarn.event.EventHandler<ContainerPreemptEvent> dispatcher, PreemptableResourceScheduler scheduler)
           
 

Method Detail

init

void init(org.apache.hadoop.conf.Configuration config,
          org.apache.hadoop.yarn.event.EventHandler<ContainerPreemptEvent> dispatcher,
          PreemptableResourceScheduler 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()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.