@Stability.Volatile public class AsyncBucketManager extends ManagerSupport
Constructor and Description |
---|
AsyncBucketManager(Core core) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
createBucket(BucketSettings settings) |
CompletableFuture<Void> |
createBucket(BucketSettings settings,
CreateBucketOptions options) |
CompletableFuture<Void> |
dropBucket(String bucketName) |
CompletableFuture<Void> |
dropBucket(String bucketName,
DropBucketOptions options) |
CompletableFuture<Void> |
flushBucket(String bucketName) |
CompletableFuture<Void> |
flushBucket(String bucketName,
FlushBucketOptions options) |
CompletableFuture<Map<String,BucketSettings>> |
getAllBuckets() |
CompletableFuture<Map<String,BucketSettings>> |
getAllBuckets(GetAllBucketOptions options) |
CompletableFuture<BucketSettings> |
getBucket(String bucketName) |
CompletableFuture<BucketSettings> |
getBucket(String bucketName,
GetBucketOptions options) |
CompletableFuture<Void> |
updateBucket(BucketSettings settings) |
CompletableFuture<Void> |
updateBucket(BucketSettings settings,
UpdateBucketOptions options) |
checkStatus, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest
public AsyncBucketManager(Core core)
public CompletableFuture<Void> createBucket(BucketSettings settings)
public CompletableFuture<Void> createBucket(BucketSettings settings, CreateBucketOptions options)
public CompletableFuture<Void> updateBucket(BucketSettings settings)
public CompletableFuture<Void> updateBucket(BucketSettings settings, UpdateBucketOptions options)
public CompletableFuture<Void> dropBucket(String bucketName)
public CompletableFuture<Void> dropBucket(String bucketName, DropBucketOptions options)
public CompletableFuture<BucketSettings> getBucket(String bucketName)
public CompletableFuture<BucketSettings> getBucket(String bucketName, GetBucketOptions options)
public CompletableFuture<Map<String,BucketSettings>> getAllBuckets()
public CompletableFuture<Map<String,BucketSettings>> getAllBuckets(GetAllBucketOptions options)
public CompletableFuture<Void> flushBucket(String bucketName)
public CompletableFuture<Void> flushBucket(String bucketName, FlushBucketOptions options)
Copyright © 2020 Couchbase, Inc.. All rights reserved.