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.