FileOperations Class
- java.
lang. Object - IInheritedBehaviors
- com.
microsoft. azure. batch. FileOperations
- com.
public class FileOperations implements IInheritedBehaviors
Performs file-related operations on an Azure Batch account.
Method Summary
Method Details
customBehaviors
public Collection
Gets a collection of behaviors that modify or customize requests to the Batch service.
Overrides:
FileOperations.customBehaviors()Returns:
deleteFileFromComputeNode
public void deleteFileFromComputeNode(String poolId, String nodeId, String fileName)
Deletes the specified file from the specified compute node.
Parameters:
Throws:
deleteFileFromComputeNode
public void deleteFileFromComputeNode(String poolId, String nodeId, String fileName, Boolean recursive)
Deletes the specified file from the specified compute node.
Parameters:
Throws:
deleteFileFromComputeNode
public void deleteFileFromComputeNode(String poolId, String nodeId, String fileName, Boolean recursive, Iterable
Deletes the specified file from the specified compute node.
Parameters:
Throws:
deleteFileFromTask
public void deleteFileFromTask(String jobId, String taskId, String fileName)
Deletes the specified file from the specified task's directory on its compute node.
Parameters:
Throws:
deleteFileFromTask
public void deleteFileFromTask(String jobId, String taskId, String fileName, Boolean recursive)
Deletes the specified file from the specified task's directory on its compute node.
Parameters:
Throws:
deleteFileFromTask
public void deleteFileFromTask(String jobId, String taskId, String fileName, Boolean recursive, Iterable
Deletes the specified file from the specified task's directory on its compute node.
Parameters:
Throws:
getFileFromComputeNode
public void getFileFromComputeNode(String poolId, String nodeId, String fileName, Iterable
Downloads the specified file from the specified compute node.
Parameters:
Throws:
getFileFromComputeNode
public void getFileFromComputeNode(String poolId, String nodeId, String fileName, OutputStream outputStream)
Downloads the specified file from the specified compute node.
Parameters:
Throws:
getFileFromTask
public void getFileFromTask(String jobId, String taskId, String fileName, Iterable
Downloads the specified file from the specified task's directory on its compute node.
Parameters:
Throws:
getFileFromTask
public void getFileFromTask(String jobId, String taskId, String fileName, OutputStream outputStream)
Downloads the specified file from the specified task's directory on its compute node.
Parameters:
Throws:
getFilePropertiesFromComputeNode
public FileProperties getFilePropertiesFromComputeNode(String poolId, String nodeId, String fileName)
Gets information about a file on a compute node.
Parameters:
Returns:
Throws:
getFilePropertiesFromComputeNode
public FileProperties getFilePropertiesFromComputeNode(String poolId, String nodeId, String fileName, Iterable
Gets information about a file on a compute node.
Parameters:
Returns:
Throws:
getFilePropertiesFromTask
public FileProperties getFilePropertiesFromTask(String jobId, String taskId, String fileName)
Gets information about a file from the specified task's directory on its compute node.
Parameters:
Returns:
Throws:
getFilePropertiesFromTask
public FileProperties getFilePropertiesFromTask(String jobId, String taskId, String fileName, Iterable
Gets information about a file from the specified task's directory on its compute node.
Parameters:
Returns:
Throws:
listFilesFromComputeNode
public PagedList
Lists files on the specified compute node.
Parameters:
Returns:
Throws:
listFilesFromComputeNode
public PagedList
Lists files on the specified compute node.
Parameters:
Returns:
Throws:
listFilesFromComputeNode
public PagedList
Lists files on the specified compute node.
Parameters:
Returns:
Throws:
listFilesFromTask
public PagedList
Lists the files in the specified task's directory on its compute node.
Parameters:
Returns:
Throws:
listFilesFromTask
public PagedList
Lists the files in the specified task's directory on its compute node.
Parameters:
Returns:
Throws:
listFilesFromTask
public PagedList
Lists the files in the specified task's directory on its compute node.
Parameters:
Returns:
Throws:
withCustomBehaviors
public IInheritedBehaviors withCustomBehaviors(Collection
Sets a collection of behaviors that modify or customize requests to the Batch service.
Overrides:
FileOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)Parameters:
Returns: