Package 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
Considers currently running tasks and their completion.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.queue.LoadPredictor
LoadPredictor.CurrentlyRunningTasksNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpredict(MappingWorksheet plan, Computer computer, long start, long eternity) Estimates load starting from the 'start' timestamp, up to the 'end' timestamp.Methods inherited from class hudson.model.queue.LoadPredictor
all, predict
-
Constructor Details
-
CurrentlyRunningTasks
public CurrentlyRunningTasks()
-
-
Method Details
-
predict
public Iterable<FutureLoad> predict(MappingWorksheet plan, Computer computer, long start, long eternity) Description copied from class:LoadPredictorEstimates load starting from the 'start' timestamp, up to the 'end' timestamp.- Overrides:
predictin classLoadPredictor- 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 (likeMappingWorksheet.itemprovide access to more contextual information.start- Where to start enumeration. Always bigger or equal to the current time of the execution.
-