public interface IOefClient
Modifier and Type | Method and Description |
---|---|
void |
close()
Close OEF client and release connection resources.
|
CreateAsynchFetchJobsResult |
createFetchJob(CreateAsyncFetchJobsRequest request)
Create an asynchronous fetch job
|
HeaderResponse |
deleteExtensionPolicy(String bucketName)
Delete an asynchronous policy
|
HeaderResponse |
putExtensionPolicy(String bucketName,
PutExtensionPolicyRequest request)
Configure an asynchronous policy.
|
QueryExtensionPolicyResult |
queryExtensionPolicy(String bucketName)
Query an asynchronous policy
|
QueryAsynchFetchJobsResult |
queryFetchJob(String bucketName,
String jobId)
Query an asynchronous fetch job
|
void close() throws IOException
IOException
- I/O exception. This exception is thrown when resources fail to be closed.HeaderResponse putExtensionPolicy(String bucketName, PutExtensionPolicyRequest request) throws ObsException
bucketName
- Bucket namerequest
- Asynchronous policyObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failsQueryExtensionPolicyResult queryExtensionPolicy(String bucketName) throws ObsException
bucketName
- Bucket nameObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failsHeaderResponse deleteExtensionPolicy(String bucketName) throws ObsException
bucketName
- Bucket nameObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failsCreateAsynchFetchJobsResult createFetchJob(CreateAsyncFetchJobsRequest request) throws ObsException
request
- Asynchronous fetch jobObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failsQueryAsynchFetchJobsResult queryFetchJob(String bucketName, String jobId) throws ObsException
bucketName
- Bucket namejobId
- Job IDObsException
- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS failsCopyright © 2019. All rights reserved.