hudson.model.queue
Class LoadPredictor.CurrentlyRunningTasks
java.lang.Object
hudson.model.queue.LoadPredictor
hudson.model.queue.LoadPredictor.CurrentlyRunningTasks
- All Implemented Interfaces:
- ExtensionPoint
- Enclosing class:
- LoadPredictor
@Extension
public static class LoadPredictor.CurrentlyRunningTasks
- extends LoadPredictor
Considers currently running tasks and their completion.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadPredictor.CurrentlyRunningTasks
public LoadPredictor.CurrentlyRunningTasks()
predict
public Iterable<FutureLoad> predict(MappingWorksheet plan,
Computer computer,
long start,
long eternity)
- 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.
Copyright © 2004-2013. All Rights Reserved.