org.apache.uima.ducc.rm.scheduler
Interface IScheduler

All Known Implementing Classes:
NodepoolScheduler

public interface IScheduler

Define the scheduling interface. You can have any scheduler you want, as long as it conforms to this thing. We're going to assume that the caller of this interface won't call it unless something has changed that might affect the current schedule.


Method Summary
 void schedule(SchedulingUpdate upd)
           
 void setClasses(Map<ResourceClass,ResourceClass> classes)
           
 void setEvictionPolicy(SchedConstants.EvictionPolicy p)
           
 void setNodePool(org.apache.uima.ducc.rm.scheduler.NodePool nodepool)
           
 

Method Detail

schedule

void schedule(SchedulingUpdate upd)

setClasses

void setClasses(Map<ResourceClass,ResourceClass> classes)

setNodePool

void setNodePool(org.apache.uima.ducc.rm.scheduler.NodePool nodepool)

setEvictionPolicy

void setEvictionPolicy(SchedConstants.EvictionPolicy p)


Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.