public class OverallLoadStatistics extends LoadStatistics
LoadStatistics
for the entire system (the master and all the slaves combined),
and all the jobs that are running on it.Jenkins.overallLoad
,
UnlabeledLoadStatistics
LoadStatistics.LoadStatisticsUpdater
Modifier and Type | Field and Description |
---|---|
MultiStageTimeSeries |
totalQueueLength
Deprecated.
as of 1.467
Use
LoadStatistics.queueLength . Left as an alias here for backward compatibility. |
busyExecutors, CLOCK, DECAY, queueLength, totalExecutors
Constructor and Description |
---|
OverallLoadStatistics() |
Modifier and Type | Method and Description |
---|---|
int |
computeIdleExecutors()
Computes the # of idle executors right now and obtains the snapshot value.
|
int |
computeQueueLength()
Computes the # of queue length right now and obtains the snapshot value.
|
int |
computeTotalExecutors()
Computes the # of total executors right now and obtains the snapshot value.
|
protected MultiStageTimeSeries.TrendChart |
createOverallTrendChart(MultiStageTimeSeries.TimeScale timeScale)
When drawing the overall load statistics, use the total queue length,
not
LoadStatistics.queueLength , which just shows jobs that are to be run on the master. |
configureRenderer, createChart, createTrendChart, doGraph, getApi, getLatestIdleExecutors, updateExecutorCounts
@Exported @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public final MultiStageTimeSeries totalQueueLength
LoadStatistics.queueLength
. Left as an alias here for backward compatibility.Queue.BuildableItem
s that represents blocked builds.public int computeIdleExecutors()
LoadStatistics
computeIdleExecutors
in class LoadStatistics
public int computeTotalExecutors()
LoadStatistics
computeTotalExecutors
in class LoadStatistics
public int computeQueueLength()
LoadStatistics
computeQueueLength
in class LoadStatistics
protected MultiStageTimeSeries.TrendChart createOverallTrendChart(MultiStageTimeSeries.TimeScale timeScale)
LoadStatistics.queueLength
, which just shows jobs that are to be run on the master.Copyright © 2016. All rights reserved.