com.oef.services

## 接口 IOefClient

- 所有已知实现类:
    OefClient

      public interface IOefClient

  OEF value-added service interface

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `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

- - ### 方法详细资料

    - #### close

          void close()
              throws IOException

      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 name
        `request` - 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

          QueryExtensionPolicyResult queryExtensionPolicy(String bucketName)
                                                   throws ObsException

      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

          HeaderResponse deleteExtensionPolicy(String bucketName)
                                        throws ObsException

      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

          CreateAsynchFetchJobsResult createFetchJob(CreateAsyncFetchJobsRequest request)
                                              throws ObsException

      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

          QueryAsynchFetchJobsResult queryFetchJob(String bucketName,
                                                   String jobId)
                                            throws ObsException

      Query an asynchronous fetch job
      参数:
        `bucketName` - Bucket name
        `jobId` - Job ID
      返回:
        QueryAsynchFetchJobsResult
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

Copyright © 2021. All rights reserved.