Files.getFromComputeNodeAsync 方法

定义

重载

getFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Returns the content of the specified compute node file.

getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

Returns the content of the specified compute node file.

getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified compute node file.

getFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified compute node file.

getFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Returns the content of the specified compute node file.

public Observable<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node that contains the file.

filePath
String

The path to the compute node file that you want to get the content of.

返回

Observable<InputStream>

the observable to the InputStream object

例外

IllegalArgumentException

thrown if parameters fail the validation

getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

Returns the content of the specified compute node file.

public Observable<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node that contains the file.

filePath
String

The path to the compute node file that you want to get the content of.

fileGetFromComputeNodeOptions
FileGetFromComputeNodeOptions

Additional parameters for the operation

返回

Observable<InputStream>

the observable to the InputStream object

例外

IllegalArgumentException

thrown if parameters fail the validation

getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified compute node file.

public ServiceFuture<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, final ServiceCallback<InputStream> serviceCallback)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node that contains the file.

filePath
String

The path to the compute node file that you want to get the content of.

fileGetFromComputeNodeOptions
FileGetFromComputeNodeOptions

Additional parameters for the operation

serviceCallback
final ServiceCallback<InputStream>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<InputStream>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

getFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified compute node file.

public ServiceFuture<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback<InputStream> serviceCallback)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node that contains the file.

filePath
String

The path to the compute node file that you want to get the content of.

serviceCallback
final ServiceCallback<InputStream>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<InputStream>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

适用于