@Extension public static class LoadPredictor.CurrentlyRunningTasks extends LoadPredictor
LoadPredictor.CurrentlyRunningTasks
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CurrentlyRunningTasks() |
Modifier and Type | Method and Description |
---|---|
Iterable<FutureLoad> |
predict(MappingWorksheet plan,
Computer computer,
long start,
long eternity)
Estimates load starting from the 'start' timestamp, up to the 'end' timestamp.
|
all, predict
public Iterable<FutureLoad> predict(MappingWorksheet plan, Computer computer, long start, long eternity)
LoadPredictor
predict
in class LoadPredictor
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–2021. All rights reserved.