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
Modifier and TypeClassDescriptionstatic class
Use a builder so we can add more stats if needed. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
int
The total number of executors that are currently on-line, idle and accepting tasks.int
The total number of executors that are currently busy running jobs.int
The total number of executors that are currently in the process of connecting to Jenkins.int
The total number of executors that Jenkins currently knows, this includes all off-line agents.int
The total number of executors that are currently on-line and idle.int
The total number of executors that are currently on-line.int
The number of items in the queue.int
hashCode()
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
-