azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.batch.p...

156 строки
8.5 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts"
name: "TaskSlotCounts"
nameWithType: "TaskSlotCounts"
summary: "The Task<wbr>Slot counts for a Job."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **TaskSlotCounts**"
constructors:
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.TaskSlotCounts()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.TaskSlotCounts()"
name: "TaskSlotCounts()"
nameWithType: "TaskSlotCounts.TaskSlotCounts()"
syntax: "public TaskSlotCounts()"
methods:
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.active()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.active()"
name: "active()"
nameWithType: "TaskSlotCounts.active()"
summary: "Get the active value."
syntax: "public int active()"
desc: "Get the active value."
returns:
description: "the active value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.completed()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.completed()"
name: "completed()"
nameWithType: "TaskSlotCounts.completed()"
summary: "Get the completed value."
syntax: "public int completed()"
desc: "Get the completed value."
returns:
description: "the completed value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.failed()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.failed()"
name: "failed()"
nameWithType: "TaskSlotCounts.failed()"
summary: "Get the failed value."
syntax: "public int failed()"
desc: "Get the failed value."
returns:
description: "the failed value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.running()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.running()"
name: "running()"
nameWithType: "TaskSlotCounts.running()"
summary: "Get the running value."
syntax: "public int running()"
desc: "Get the running value."
returns:
description: "the running value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.succeeded()"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.succeeded()"
name: "succeeded()"
nameWithType: "TaskSlotCounts.succeeded()"
summary: "Get the succeeded value."
syntax: "public int succeeded()"
desc: "Get the succeeded value."
returns:
description: "the succeeded value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withActive(int)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withActive(int active)"
name: "withActive(int active)"
nameWithType: "TaskSlotCounts.withActive(int active)"
summary: "Set the active value."
parameters:
- description: "the active value to set"
name: "active"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TaskSlotCounts withActive(int active)"
desc: "Set the active value."
returns:
description: "the TaskSlotCounts object itself."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskSlotCounts?alt=com.microsoft.azure.batch.protocol.models.TaskSlotCounts&text=TaskSlotCounts\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withCompleted(int)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withCompleted(int completed)"
name: "withCompleted(int completed)"
nameWithType: "TaskSlotCounts.withCompleted(int completed)"
summary: "Set the completed value."
parameters:
- description: "the completed value to set"
name: "completed"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TaskSlotCounts withCompleted(int completed)"
desc: "Set the completed value."
returns:
description: "the TaskSlotCounts object itself."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskSlotCounts?alt=com.microsoft.azure.batch.protocol.models.TaskSlotCounts&text=TaskSlotCounts\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withFailed(int)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withFailed(int failed)"
name: "withFailed(int failed)"
nameWithType: "TaskSlotCounts.withFailed(int failed)"
summary: "Set the failed value."
parameters:
- description: "the failed value to set"
name: "failed"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TaskSlotCounts withFailed(int failed)"
desc: "Set the failed value."
returns:
description: "the TaskSlotCounts object itself."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskSlotCounts?alt=com.microsoft.azure.batch.protocol.models.TaskSlotCounts&text=TaskSlotCounts\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withRunning(int)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withRunning(int running)"
name: "withRunning(int running)"
nameWithType: "TaskSlotCounts.withRunning(int running)"
summary: "Set the running value."
parameters:
- description: "the running value to set"
name: "running"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TaskSlotCounts withRunning(int running)"
desc: "Set the running value."
returns:
description: "the TaskSlotCounts object itself."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskSlotCounts?alt=com.microsoft.azure.batch.protocol.models.TaskSlotCounts&text=TaskSlotCounts\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withSucceeded(int)"
fullName: "com.microsoft.azure.batch.protocol.models.TaskSlotCounts.withSucceeded(int succeeded)"
name: "withSucceeded(int succeeded)"
nameWithType: "TaskSlotCounts.withSucceeded(int succeeded)"
summary: "Set the succeeded value."
parameters:
- description: "the succeeded value to set"
name: "succeeded"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TaskSlotCounts withSucceeded(int succeeded)"
desc: "Set the succeeded value."
returns:
description: "the TaskSlotCounts object itself."
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.TaskSlotCounts?alt=com.microsoft.azure.batch.protocol.models.TaskSlotCounts&text=TaskSlotCounts\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The TaskSlot counts for a Job."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0