Flushing the cache
I have a few questions about flushing a bucket that I have not been able to answer via the documentation.
1. What is the best way to get rid of all records in Couchbase?
2. When flushing a bucket via the Java CouchbaseClient, does the flush method documented in the Java Client Manual flush ALL records from memory and disk or does it flush just the memory? The manual and JavaDoc says it "clears the cache on all servers", but that documentation is inherited from the MemcacheClient.
3. Section 1.8 in the manual talks about the REST api for flushing a bucket, which is disabled by default in version 1.8.1. However, it does not mention anything about the flush_all command from client libraries. Does the flush method in the Java client still work by default?