Interface ReactiveBucketOperations<T>
- Type Parameters:
T- The provider-native bucket/container representation type.
- All Known Implementing Classes:
AwsS3ReactiveBucketOperations, AzureBlobReactiveBucketOperations, DefaultReactiveBucketOperations, GoogleCloudReactiveBucketOperations, LocalStorageReactiveBucketOperations, OracleCloudReactiveBucketOperations
public interface ReactiveBucketOperations<T>
Reactive companion API for bucket/container lifecycle management.
- Since:
- 3.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Method Summary
Modifier and TypeMethodDescription@NonNull org.reactivestreams.Publisher<Void> Create a new bucket/container with the given name.@NonNull org.reactivestreams.Publisher<Void> Delete a bucket/container with the given name.@NonNull org.reactivestreams.Publisher<Boolean> Checks whether a bucket/container exists.@NonNull org.reactivestreams.Publisher<Optional<BucketEntry<T>>> Retrieve an existing bucket/container.
-
Method Details
-
create
-
retrieve
Retrieve an existing bucket/container.- Parameters:
name- The bucket/container name.- Returns:
- a publisher that emits the provider-native bucket/container data if it exists.
-
delete
-
exists
-