We are using Couchbase community version 3.0.1 and java client 2.1.4.
We have a Couchbase bucket used for caching the data. The requirement is that if the bucket quota percent used increases beyond 80%, caching (upsert to bucket) should be stopped by the application.
Using the GET API http://localhost:8091/pools/default/buckets/bucketName will give the results it seems. Can we invoke this from our application frequently to see the quota percent used by the bucket?
Could someone suggest the best way for this.