hudson.model.queue
Class BackFiller

java.lang.Object
  extended by hudson.model.queue.LoadPredictor
      extended by hudson.model.queue.BackFiller
All Implemented Interfaces:
ExtensionPoint

public class BackFiller
extends LoadPredictor

Experimental.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class BackFiller.TentativePlan
           
 
Nested classes/interfaces inherited from class hudson.model.queue.LoadPredictor
LoadPredictor.CurrentlyRunningTasks
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BackFiller()
           
 
Method Summary
static BackFiller newInstance()
          Once this feature stabilizes, move it to the heavyjob plugin
 Iterable<FutureLoad> predict(MappingWorksheet plan, Computer computer, long start, long end)
          Estimates load starting from the 'start' timestamp, up to the 'end' timestamp.
 
Methods inherited from class hudson.model.queue.LoadPredictor
all, predict
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackFiller

public BackFiller()
Method Detail

predict

public Iterable<FutureLoad> predict(MappingWorksheet plan,
                                    Computer computer,
                                    long start,
                                    long end)
Description copied from class: LoadPredictor
Estimates load starting from the 'start' timestamp, up to the 'end' timestamp.

Overrides:
predict in class LoadPredictor
Parameters:
plan - This is the execution plan for which we are making a load prediction. Never null. While this object is still being partially constructed when this method is called, some of its properties (like MappingWorksheet.item provide access to more contextual information.
start - Where to start enumeration. Always bigger or equal to the current time of the execution.

newInstance

@Extension
public static BackFiller newInstance()
Once this feature stabilizes, move it to the heavyjob plugin



Copyright © 2004-2013. All Rights Reserved.