How to set the 'cache metadata' property of a bucket through the Java SDK 2.2

Looking at the BucketSetting interface, there doesn’t seem to be a way to set the cache metadata to either value or full ejection using the Java SDK. Or is there?

It’s not available on the Java SDK. You can use the REST APi in the meantime: http://developer.couchbase.com/documentation/server/4.1/rest-api/rest-bucket-metadata-ejection.html

Not sure if it’s on the roadmap. @tgreenstein might know.

I’ve created an issue to track this: https://issues.couchbase.com/browse/JCBC-916