Uses of Class
com.microsoft.azure.batch.protocol.models.TaskConstraints
-
Packages that use TaskConstraints Package Description com.microsoft.azure.batch This package contains the classes for BatchServiceClient.com.microsoft.azure.batch.protocol This package contains the classes for BatchServiceClient.com.microsoft.azure.batch.protocol.implementation This package contains the implementation classes for BatchServiceClient.com.microsoft.azure.batch.protocol.models This package contains the models classes for BatchServiceClient. -
-
Uses of TaskConstraints in com.microsoft.azure.batch
Methods in com.microsoft.azure.batch with parameters of type TaskConstraints Modifier and Type Method Description void
TaskOperations. updateTask(String jobId, String taskId, TaskConstraints constraints)
Updates the specified task.void
TaskOperations. updateTask(String jobId, String taskId, TaskConstraints constraints, Iterable<BatchClientBehavior> additionalBehaviors)
Updates the specified task. -
Uses of TaskConstraints in com.microsoft.azure.batch.protocol
Methods in com.microsoft.azure.batch.protocol with parameters of type TaskConstraints Modifier and Type Method Description void
Tasks. update(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task.rx.Observable<Void>
Tasks. updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task.com.microsoft.rest.ServiceFuture<Void>
Tasks. updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Task.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,TaskUpdateHeaders>>
Tasks. updateWithServiceResponseAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task. -
Uses of TaskConstraints in com.microsoft.azure.batch.protocol.implementation
Methods in com.microsoft.azure.batch.protocol.implementation with parameters of type TaskConstraints Modifier and Type Method Description void
TasksImpl. update(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task.rx.Observable<Void>
TasksImpl. updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task.com.microsoft.rest.ServiceFuture<Void>
TasksImpl. updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Task.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,TaskUpdateHeaders>>
TasksImpl. updateWithServiceResponseAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task. -
Uses of TaskConstraints in com.microsoft.azure.batch.protocol.models
Methods in com.microsoft.azure.batch.protocol.models that return TaskConstraints Modifier and Type Method Description TaskConstraints
CloudTask. constraints()
Get the constraints value.TaskConstraints
JobManagerTask. constraints()
Get the constraints value.TaskConstraints
JobPreparationTask. constraints()
Get the constraints value.TaskConstraints
TaskAddParameter. constraints()
Get if you do not specify constraints, the maxTaskRetryCount is the maxTaskRetryCount specified for the Job, the maxWallClockTime is infinite, and the retentionTime is 7 days.TaskConstraints
TaskUpdateParameter. constraints()
Get if omitted, the Task is given the default constraints.TaskConstraints
TaskConstraints. withMaxTaskRetryCount(Integer maxTaskRetryCount)
Set note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code.TaskConstraints
TaskConstraints. withMaxWallClockTime(org.joda.time.Period maxWallClockTime)
Set if this is not specified, there is no time limit on how long the Task may run.TaskConstraints
TaskConstraints. withRetentionTime(org.joda.time.Period retentionTime)
Set the default is 7 days, i.e.Methods in com.microsoft.azure.batch.protocol.models with parameters of type TaskConstraints Modifier and Type Method Description CloudTask
CloudTask. withConstraints(TaskConstraints constraints)
Set the constraints value.JobManagerTask
JobManagerTask. withConstraints(TaskConstraints constraints)
Set the constraints value.JobPreparationTask
JobPreparationTask. withConstraints(TaskConstraints constraints)
Set the constraints value.TaskAddParameter
TaskAddParameter. withConstraints(TaskConstraints constraints)
Set if you do not specify constraints, the maxTaskRetryCount is the maxTaskRetryCount specified for the Job, the maxWallClockTime is infinite, and the retentionTime is 7 days.TaskUpdateParameter
TaskUpdateParameter. withConstraints(TaskConstraints constraints)
Set if omitted, the Task is given the default constraints.
-