Class ProtostellarCoreBucketManager
- java.lang.Object
-
- com.couchbase.client.core.protostellar.manager.ProtostellarCoreBucketManager
-
- All Implemented Interfaces:
CoreBucketManagerOps
@Internal public class ProtostellarCoreBucketManager extends Object implements CoreBucketManagerOps
-
-
Constructor Summary
Constructors Constructor Description ProtostellarCoreBucketManager(CoreProtostellar core)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>
createBucket(CoreBucketSettings settings, CoreCreateBucketSettings createSpecificSettings, CoreCommonOptions options)
CompletableFuture<Void>
dropBucket(String bucketName, CoreCommonOptions options)
CompletableFuture<Void>
flushBucket(String bucketName, CoreCommonOptions options)
CompletableFuture<Map<String,CoreBucketSettings>>
getAllBuckets(CoreCommonOptions options)
CompletableFuture<CoreBucketSettings>
getBucket(String bucketName, CoreCommonOptions options)
CompletableFuture<Void>
updateBucket(CoreBucketSettings settings, CoreCommonOptions options)
-
-
-
Constructor Detail
-
ProtostellarCoreBucketManager
public ProtostellarCoreBucketManager(CoreProtostellar core)
-
-
Method Detail
-
createBucket
public CompletableFuture<Void> createBucket(CoreBucketSettings settings, @Nullable CoreCreateBucketSettings createSpecificSettings, CoreCommonOptions options)
- Specified by:
createBucket
in interfaceCoreBucketManagerOps
-
updateBucket
public CompletableFuture<Void> updateBucket(CoreBucketSettings settings, CoreCommonOptions options)
- Specified by:
updateBucket
in interfaceCoreBucketManagerOps
-
dropBucket
public CompletableFuture<Void> dropBucket(String bucketName, CoreCommonOptions options)
- Specified by:
dropBucket
in interfaceCoreBucketManagerOps
-
getBucket
public CompletableFuture<CoreBucketSettings> getBucket(String bucketName, CoreCommonOptions options)
- Specified by:
getBucket
in interfaceCoreBucketManagerOps
-
getAllBuckets
public CompletableFuture<Map<String,CoreBucketSettings>> getAllBuckets(CoreCommonOptions options)
- Specified by:
getAllBuckets
in interfaceCoreBucketManagerOps
-
flushBucket
public CompletableFuture<Void> flushBucket(String bucketName, CoreCommonOptions options)
- Specified by:
flushBucket
in interfaceCoreBucketManagerOps
-
-