Interface OciObjectStorage


  • @Deprecated(since="2.5.0",
                forRemoval=true)
    public interface OciObjectStorage
    Deprecated, for removal: This API element is subject to removal in a future version.
    use OCI SDK instead
    Blocking OCI ObjectStorage API. All methods block the current thread. This implementation is not suitable for reactive programming. Use OciObjectStorageRx in reactive code.
    • Method Detail

      • create

        static OciObjectStorage create​(OciObjectStorageRx reactive)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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

        ApiOptionalResponse<GetObject.Response> getObject​(GetObject.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets the metadata and body of an object.
        Parameters:
        request - get object request
        Returns:
        future with response or error
      • putObject

        PutObject.Response putObject​(PutObject.Request request,
                                     ReadableByteChannel channel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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

        DeleteObject.Response deleteObject​(DeleteObject.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Deletes an object.
        Parameters:
        request - delete object request
        Returns:
        future with response or error
      • renameObject

        RenameObject.Response renameObject​(RenameObject.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Rename an object in the given Object Storage namespace. See Object Names.
        Parameters:
        request - rename object request
        Returns:
        future with response or error
      • getBucket

        ApiOptionalResponse<GetBucket.Response> getBucket​(GetBucket.Request request)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Gets the metadata of a bucket.
        Parameters:
        request - get bucket request
        Returns:
        future with response or error