public interface IOefClient
| Modifier and Type | Method and Description |
|---|---|
void |
close()
关闭OEF客户端,释放连接资源
|
CreateAsynchFetchJobsResult |
createFetchJob(CreateAsyncFetchJobsRequest request)
创建异步抓取任务
|
HeaderResponse |
deleteExtensionPolicy(String bucketName)
删除异步策略
|
HeaderResponse |
putExtensionPolicy(String bucketName,
PutExtensionPolicyRequest request)
配置异步策略
|
QueryExtensionPolicyResult |
queryExtensionPolicy(String bucketName)
查询异步策略
|
QueryAsynchFetchJobsResult |
queryFetchJob(String bucketName,
String jobId)
查询异步抓取任务
|
void close()
throws IOException
IOException - IO异常,当关闭资源失败时抛出该异常HeaderResponse putExtensionPolicy(String bucketName, PutExtensionPolicyRequest request) throws ObsException
bucketName - 桶名request - 异步策略ObsException - OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常QueryExtensionPolicyResult queryExtensionPolicy(String bucketName) throws ObsException
bucketName - 桶名ObsException - OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常HeaderResponse deleteExtensionPolicy(String bucketName) throws ObsException
bucketName - 桶名ObsException - OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常CreateAsynchFetchJobsResult createFetchJob(CreateAsyncFetchJobsRequest request) throws ObsException
request - 异步抓取任务ObsException - OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常QueryAsynchFetchJobsResult queryFetchJob(String bucketName, String jobId) throws ObsException
bucketName - 桶名jobId - 任务IDObsException - OBS SDK自定义异常,当调用接口失败、访问OBS失败时抛出该异常Copyright © 2021. All rights reserved.