@Extension public static class LoadPredictor.CurrentlyRunningTasks extends LoadPredictor
LoadPredictor.CurrentlyRunningTasksExtensionPoint.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, predictpublic Iterable<FutureLoad> predict(MappingWorksheet plan, Computer computer, long start, long eternity)
LoadPredictorpredict in class LoadPredictorplan - 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 © 2019. All rights reserved.