TaskOperations Class
- java.
lang. Object - com.
microsoft. azure. batch. TaskOperations
- com.
Implements
public class TaskOperations
implements IInheritedBehaviors
Performs task-related operations on an Azure Batch account.
Method Summary
Methods inherited from java.lang.Object
Method Details
createTask
public void createTask(String jobId, TaskAddParameter taskToAdd)
Adds a single task to a job.
Parameters:
Throws:
createTask
public void createTask(String jobId, TaskAddParameter taskToAdd, Iterable
Adds a single task to a job.
Parameters:
Throws:
createTasks
public void createTasks(String jobId, List
Adds multiple tasks to a job.
Parameters:
Throws:
createTasks
public void createTasks(String jobId, List
Adds multiple tasks to a job.
Parameters:
Throws:
customBehaviors
public Collection
Gets a collection of behaviors that modify or customize requests to the Batch service.
Returns:
deleteTask
public void deleteTask(String jobId, String taskId)
Deletes the specified task.
Parameters:
Throws:
deleteTask
public void deleteTask(String jobId, String taskId, Iterable
Deletes the specified task.
Parameters:
Throws:
getTask
public CloudTask getTask(String jobId, String taskId)
Gets the specified CloudTask.
Parameters:
Returns:
Throws:
getTask
public CloudTask getTask(String jobId, String taskId, DetailLevel detailLevel)
Gets the specified CloudTask.
Parameters:
Returns:
Throws:
getTask
public CloudTask getTask(String jobId, String taskId, DetailLevel detailLevel, Iterable
Gets the specified CloudTask.
Parameters:
Returns:
Throws:
listSubtasks
public List
Lists the SubtaskInformation of the specified task.
Parameters:
Returns:
Throws:
listSubtasks
public List
Lists the SubtaskInformation of the specified task.
Parameters:
Returns:
Throws:
listSubtasks
public List
Lists the SubtaskInformation of the specified task.
Parameters:
Returns:
Throws:
listTasks
public PagedList
Lists the CloudTask of the specified job.
Parameters:
Returns:
Throws:
listTasks
public PagedList
Lists the CloudTask of the specified job.
Parameters:
Returns:
Throws:
listTasks
public PagedList
Lists the CloudTask of the specified job.
Parameters:
Returns:
Throws:
reactivateTask
public void reactivateTask(String jobId, String taskId)
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
Parameters:
Throws:
reactivateTask
public void reactivateTask(String jobId, String taskId, Iterable
Reactivates a task, allowing it to run again even if its retry count has been exhausted.
Parameters:
Throws:
terminateTask
public void terminateTask(String jobId, String taskId)
Terminates the specified task.
Parameters:
Throws:
terminateTask
public void terminateTask(String jobId, String taskId, Iterable
Terminates the specified task.
Parameters:
Throws:
updateTask
public void updateTask(String jobId, String taskId, TaskConstraints constraints)
Updates the specified task.
Parameters:
Throws:
updateTask
public void updateTask(String jobId, String taskId, TaskConstraints constraints, Iterable
Updates the specified task.
Parameters:
Throws:
withCustomBehaviors
public IInheritedBehaviors withCustomBehaviors(Collection
Sets a collection of behaviors that modify or customize requests to the Batch service.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for