60 строки
4.4 KiB
YAML
60 строки
4.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.batch.protocol.models.AffinityInformation"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.AffinityInformation"
|
|
name: "AffinityInformation"
|
|
nameWithType: "AffinityInformation"
|
|
summary: "A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task."
|
|
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 **AffinityInformation**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.AffinityInformation.AffinityInformation()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.AffinityInformation.AffinityInformation()"
|
|
name: "AffinityInformation()"
|
|
nameWithType: "AffinityInformation.AffinityInformation()"
|
|
syntax: "public AffinityInformation()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.batch.protocol.models.AffinityInformation.affinityId()"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.AffinityInformation.affinityId()"
|
|
name: "affinityId()"
|
|
nameWithType: "AffinityInformation.affinityId()"
|
|
summary: "Get you can pass the affinity<wbr>Id of a Node to indicate that this Task needs to run on that Compute Node."
|
|
syntax: "public String affinityId()"
|
|
desc: "Get you can pass the affinityId of a Node to indicate that this Task needs to run on that Compute Node. Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere."
|
|
returns:
|
|
description: "the affinityId value"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.microsoft.azure.batch.protocol.models.AffinityInformation.withAffinityId(java.lang.String)"
|
|
fullName: "com.microsoft.azure.batch.protocol.models.AffinityInformation.withAffinityId(String affinityId)"
|
|
name: "withAffinityId(String affinityId)"
|
|
nameWithType: "AffinityInformation.withAffinityId(String affinityId)"
|
|
summary: "Set you can pass the affinity<wbr>Id of a Node to indicate that this Task needs to run on that Compute Node."
|
|
parameters:
|
|
- description: "the affinityId value to set"
|
|
name: "affinityId"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public AffinityInformation withAffinityId(String affinityId)"
|
|
desc: "Set you can pass the affinityId of a Node to indicate that this Task needs to run on that Compute Node. Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere."
|
|
returns:
|
|
description: "the AffinityInformation object itself."
|
|
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.AffinityInformation?alt=com.microsoft.azure.batch.protocol.models.AffinityInformation&text=AffinityInformation\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.batch.protocol.models"
|
|
artifact: com.microsoft.azure:azure-batch:11.2.0
|