public interface OciObjectStorage
Blocking OCI ObjectStorage API. All methods block the current thread. This implementation is not suitable for reactive programming. Use OciObjectStorageRx in reactive code.
  • Method Details

    • create

      static OciObjectStorage create(OciObjectStorageRx reactive)
      Create a blocking object storage integration from its reactive counterpart. When running within an injection capable environment (such as CDI), instances of this class can be injected.
      Parameters:
      reactive - reactive OCI object storage
      Returns:
      blocking OCI object storage
    • getObject

      Gets the metadata and body of an object.
      Parameters:
      request - get object request
      Returns:
      future with response or error
    • putObject

      Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by PutObject is 50 GiB.
      Parameters:
      request - put object request
      channel - to read data from
      Returns:
      future with response or error
    • deleteObject

      Deletes an object.
      Parameters:
      request - delete object request
      Returns:
      future with response or error
    • renameObject

      Rename an object in the given Object Storage namespace. See Object Names.
      Parameters:
      request - rename object request
      Returns:
      future with response or error
    • getBucket

      Gets the metadata of a bucket.
      Parameters:
      request - get bucket request
      Returns:
      future with response or error