接口 IOefClient
-
方法概要
修饰符和类型方法说明voidclose()Close OEF client and release connection resources.Create an asynchronous fetch jobdeleteExtensionPolicy(String bucketName) Delete an asynchronous policyputExtensionPolicy(String bucketName, PutExtensionPolicyRequest request) Configure an asynchronous policy.queryExtensionPolicy(String bucketName) Query an asynchronous policyqueryFetchJob(String bucketName, String jobId) Query an asynchronous fetch job
-
方法详细资料
-
close
Close OEF client and release connection resources.- 抛出:
IOException- I/O exception. This exception is thrown when resources fail to be closed.
-
putExtensionPolicy
HeaderResponse putExtensionPolicy(String bucketName, PutExtensionPolicyRequest request) throws ObsException Configure an asynchronous policy.- 参数:
bucketName- Bucket namerequest- Asynchronous policy- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
queryExtensionPolicy
Query an asynchronous policy- 参数:
bucketName- Bucket name- 返回:
- ExtensionPolicyResult
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteExtensionPolicy
Delete an asynchronous policy- 参数:
bucketName- Bucket name- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
createFetchJob
Create an asynchronous fetch job- 参数:
request- Asynchronous fetch job- 返回:
- CreateAsynchFetchJobsResult
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
queryFetchJob
Query an asynchronous fetch job- 参数:
bucketName- Bucket namejobId- Job ID- 返回:
- QueryAsynchFetchJobsResult
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-