BatchTaskSlotCounts Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskSlotCounts
- com.
Implements
public final class BatchTaskSlotCounts
implements JsonSerializable<BatchTaskSlotCounts>
The TaskSlot counts for a Job.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| int |
getActive()
Get the active property: The number of Task |
| int |
getCompleted()
Get the completed property: The number of Task |
| int |
getFailed()
Get the failed property: The number of Task |
| int |
getRunning()
Get the running property: The number of Task |
| int |
getSucceeded()
Get the succeeded property: The number of Task |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchTaskSlotCounts fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskSlotCounts from the JsonReader.
Parameters:
Returns:
Throws:
getActive
public int getActive()
Get the active property: The number of TaskSlots for active Tasks.
Returns:
getCompleted
public int getCompleted()
Get the completed property: The number of TaskSlots for completed Tasks.
Returns:
getFailed
public int getFailed()
Get the failed property: The number of TaskSlots for failed Tasks.
Returns:
getRunning
public int getRunning()
Get the running property: The number of TaskSlots for running Tasks.
Returns:
getSucceeded
public int getSucceeded()
Get the succeeded property: The number of TaskSlots for succeeded Tasks.
Returns: