Class AsyncBucketManager
- java.lang.Object
-
- com.couchbase.client.java.manager.ManagerSupport
-
- com.couchbase.client.java.manager.bucket.AsyncBucketManager
-
@Volatile public class AsyncBucketManager extends ManagerSupport
-
-
Constructor Summary
Constructors Constructor Description AsyncBucketManager(Core core)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>
create(BucketSettings settings)
CompletableFuture<Void>
create(BucketSettings settings, CreateBucketOptions options)
CompletableFuture<Void>
drop(String bucketName)
CompletableFuture<Void>
drop(String bucketName, DropBucketOptions options)
CompletableFuture<Void>
flush(String bucketName)
CompletableFuture<Void>
flush(String bucketName, FlushBucketOptions options)
CompletableFuture<BucketSettings>
get(String bucketName)
CompletableFuture<BucketSettings>
get(String bucketName, GetBucketOptions options)
CompletableFuture<Map<String,BucketSettings>>
getAll()
CompletableFuture<Map<String,BucketSettings>>
getAll(GetAllBucketOptions options)
CompletableFuture<Void>
upsert(BucketSettings settings)
CompletableFuture<Void>
upsert(BucketSettings settings, UpsertBucketOptions options)
-
Methods inherited from class com.couchbase.client.java.manager.ManagerSupport
checkStatus, sendRequest, sendRequest, sendRequest
-
-
-
-
Constructor Detail
-
AsyncBucketManager
public AsyncBucketManager(Core core)
-
-
Method Detail
-
create
public CompletableFuture<Void> create(BucketSettings settings)
-
create
public CompletableFuture<Void> create(BucketSettings settings, CreateBucketOptions options)
-
upsert
public CompletableFuture<Void> upsert(BucketSettings settings)
-
upsert
public CompletableFuture<Void> upsert(BucketSettings settings, UpsertBucketOptions options)
-
drop
public CompletableFuture<Void> drop(String bucketName)
-
drop
public CompletableFuture<Void> drop(String bucketName, DropBucketOptions options)
-
get
public CompletableFuture<BucketSettings> get(String bucketName)
-
get
public CompletableFuture<BucketSettings> get(String bucketName, GetBucketOptions options)
-
getAll
public CompletableFuture<Map<String,BucketSettings>> getAll()
-
getAll
public CompletableFuture<Map<String,BucketSettings>> getAll(GetAllBucketOptions options)
-
flush
public CompletableFuture<Void> flush(String bucketName)
-
flush
public CompletableFuture<Void> flush(String bucketName, FlushBucketOptions options)
-
-