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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadStatistics.LoadStatisticsSnapshot.Builder
Use a builder so we can add more stats if needed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadStatistics.LoadStatisticsSnapshot.Builder
builder()
boolean
equals(Object o)
int
getAvailableExecutors()
The total number of executors that are currently on-line, idle and accepting tasks.int
getBusyExecutors()
The total number of executors that are currently busy running jobs.int
getConnectingExecutors()
The total number of executors that are currently in the process of connecting to Jenkins.int
getDefinedExecutors()
The total number of executors that Jenkins currently knows, this includes all off-line agents.int
getIdleExecutors()
The total number of executors that are currently on-line and idle.int
getOnlineExecutors()
The total number of executors that are currently on-line.int
getQueueLength()
The number of items in the queue.int
hashCode()
String
toString()
-
-
-
Method Detail
-
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.
-
builder
public static LoadStatistics.LoadStatisticsSnapshot.Builder builder()
-
-