Package hudson.model
Class OverallLoadStatistics
java.lang.Object
hudson.model.LoadStatistics
hudson.model.OverallLoadStatistics
LoadStatistics for the entire system (the master and all the agents combined),
and all the jobs that are running on it.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.LoadStatistics
LoadStatistics.LoadStatisticsSnapshot, LoadStatistics.LoadStatisticsUpdater -
Field Summary
FieldsFields inherited from class hudson.model.LoadStatistics
availableExecutors, busyExecutors, CLOCK, connectingExecutors, DECAY, definedExecutors, idleExecutors, onlineExecutors, queueLength, totalExecutors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MultiStageTimeSeries.TrendChartWhen drawing the overall load statistics, use the total queue length, notLoadStatistics.queueLength, which just shows jobs that are to be run on the master.getNodes()Returns theNodeinstances that this statistic counts.protected booleanmatches(Queue.Item item, SubTask subTask) Methods inherited from class hudson.model.LoadStatistics
computeIdleExecutors, computeQueueLength, computeSnapshot, computeSnapshot, computeTotalExecutors, configureRenderer, createChart, createTrendChart, doGraph, getApi, getLatestIdleExecutors, updateCounts, updateExecutorCounts
-
Field Details
-
totalQueueLength
@Exported @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Deprecated public final MultiStageTimeSeries totalQueueLengthDeprecated.as of 1.467 UseLoadStatistics.queueLength. Left as an alias here for backward compatibility.Number of totalQueue.BuildableItems that represents blocked builds.
-
-
Constructor Details
-
OverallLoadStatistics
public OverallLoadStatistics()
-
-
Method Details
-
getNodes
Description copied from class:LoadStatisticsReturns theNodeinstances that this statistic counts.- Specified by:
getNodesin classLoadStatistics- Returns:
- the
Node
-
matches
Description copied from class:LoadStatistics- Specified by:
matchesin classLoadStatistics- Parameters:
item- theQueue.Itemthat thebelongs tosubTask- theSubTask- Returns:
trueIFF the specifiedSubTaskfrom theQueueshould be counted.
-
createOverallTrendChart
protected MultiStageTimeSeries.TrendChart createOverallTrendChart(MultiStageTimeSeries.TimeScale timeScale) When drawing the overall load statistics, use the total queue length, notLoadStatistics.queueLength, which just shows jobs that are to be run on the master.
-
LoadStatistics.queueLength.