Package jenkins.model
Class UnlabeledLoadStatistics
java.lang.Object
hudson.model.LoadStatistics
jenkins.model.UnlabeledLoadStatistics
LoadStatistics
that track the "free roam" jobs (whose SubTask.getAssignedLabel()
is null)
and the # of executors that can execute them (Node
whose mode is Node.Mode.EXCLUSIVE
)- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.LoadStatistics
LoadStatistics.LoadStatisticsSnapshot, LoadStatistics.LoadStatisticsUpdater
-
Field Summary
Fields inherited from class hudson.model.LoadStatistics
availableExecutors, busyExecutors, CLOCK, connectingExecutors, DECAY, definedExecutors, idleExecutors, onlineExecutors, queueLength, totalExecutors
-
Method Summary
Methods inherited from class hudson.model.LoadStatistics
computeIdleExecutors, computeQueueLength, computeSnapshot, computeSnapshot, computeTotalExecutors, configureRenderer, createChart, createTrendChart, doGraph, getApi, getLatestIdleExecutors, updateCounts, updateExecutorCounts
-
Method Details
-
getNodes
Description copied from class:LoadStatistics
Returns theNode
instances that this statistic counts.- Specified by:
getNodes
in classLoadStatistics
- Returns:
- the
Node
-
matches
Description copied from class:LoadStatistics
- Specified by:
matches
in classLoadStatistics
- Parameters:
item
- theQueue.Item
that thebelongs to
subTask
- theSubTask
- Returns:
true
IFF the specifiedSubTask
from theQueue
should be counted.
-