hudson.model
Class OverallLoadStatistics
java.lang.Object
hudson.model.LoadStatistics
hudson.model.OverallLoadStatistics
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.
- Author:
- Kohsuke Kawaguchi
- See Also:
Jenkins.overallLoad
,
UnlabeldLoadStatistics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
totalQueueLength
@Exported
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final MultiStageTimeSeries totalQueueLength
- Deprecated. as of 1.467
Use
LoadStatistics.queueLength
. Left as an alias here for backward compatibility.- Number of total
Queue.BuildableItem
s that represents blocked builds.
OverallLoadStatistics
public OverallLoadStatistics()
computeIdleExecutors
public int computeIdleExecutors()
- Description copied from class:
LoadStatistics
- Computes the # of idle executors right now and obtains the snapshot value.
- Specified by:
computeIdleExecutors
in class LoadStatistics
computeTotalExecutors
public int computeTotalExecutors()
- Description copied from class:
LoadStatistics
- Computes the # of total executors right now and obtains the snapshot value.
- Specified by:
computeTotalExecutors
in class LoadStatistics
computeQueueLength
public int computeQueueLength()
- Description copied from class:
LoadStatistics
- Computes the # of queue length right now and obtains the snapshot value.
- Specified by:
computeQueueLength
in class LoadStatistics
createOverallTrendChart
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.
Copyright © 2004-2013. All Rights Reserved.