Package hudson.model
Class LoadStatistics.LoadStatisticsSnapshot
java.lang.Object
hudson.model.LoadStatistics.LoadStatisticsSnapshot
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LoadStatistics
@ExportedBean
public static class LoadStatistics.LoadStatisticsSnapshot
extends Object
implements Serializable
Holds a snapshot of the current statistics.
- Since:
- 1.607
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUse a builder so we can add more stats if needed. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanintThe total number of executors that are currently on-line, idle and accepting tasks.intThe total number of executors that are currently busy running jobs.intThe total number of executors that are currently in the process of connecting to Jenkins.intThe total number of executors that Jenkins currently knows, this includes all off-line agents.intThe total number of executors that are currently on-line and idle.intThe total number of executors that are currently on-line.intThe number of items in the queue.inthashCode()toString()
-
Method Details
-
getDefinedExecutors
@Exported public int getDefinedExecutors()The total number of executors that Jenkins currently knows, this includes all off-line agents. -
getOnlineExecutors
@Exported public int getOnlineExecutors()The total number of executors that are currently on-line. -
getConnectingExecutors
@Exported public int getConnectingExecutors()The total number of executors that are currently in the process of connecting to Jenkins. -
getBusyExecutors
@Exported public int getBusyExecutors()The total number of executors that are currently busy running jobs. -
getIdleExecutors
@Exported public int getIdleExecutors()The total number of executors that are currently on-line and idle. This includes executors that are not accepting tasks. -
getAvailableExecutors
@Exported public int getAvailableExecutors()The total number of executors that are currently on-line, idle and accepting tasks. -
getQueueLength
@Exported public int getQueueLength()The number of items in the queue. -
equals
-
hashCode
public int hashCode() -
toString
-
builder
-