@InterfaceStability.Uncommitted @InterfaceAudience.Private public class BucketFlusher extends Object
Helper class to flush a bucket properly and wait for it to be completed.
Modifier and Type | Method and Description |
---|---|
static Observable<Boolean> |
flush(ClusterFacade core,
String bucket,
String password)
Flush the bucket and make sure flush is complete before completing the observable.
|
public static Observable<Boolean> flush(ClusterFacade core, String bucket, String password)
Flush the bucket and make sure flush is complete before completing the observable.
core
- the core reference.bucket
- the bucket to flush.password
- the password of the bucket.Copyright © 2015 Couchbase, Inc.