接口 IOefClient

所有已知实现类:
OefClient

public interface IOefClient
OEF value-added service interface
  • 方法详细资料

    • 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

      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