@ExportedBean public static class LoadStatistics.LoadStatisticsSnapshot extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LoadStatistics.LoadStatisticsSnapshot.Builder
Use a builder so we can add more stats if needed.
|
Modifier and Type | Method and 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() |
@Exported public int getDefinedExecutors()
@Exported public int getOnlineExecutors()
@Exported public int getConnectingExecutors()
@Exported public int getBusyExecutors()
@Exported public int getIdleExecutors()
@Exported public int getAvailableExecutors()
@Exported public int getQueueLength()
public static LoadStatistics.LoadStatisticsSnapshot.Builder builder()
Copyright © 2004–2022. All rights reserved.