Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.7.7
-
None
-
None
-
1
Description
Ephemeral Buckets can have an EjectionMethod of either None or NRU.
In the BucketSettings JSON response, this appears as:
"evictionPolicy": "noEviction"
|
"evictionPolicy": "nruEviction"
|
However in the Java Client we only have Full or Value available in the EjectionMethod Enum.
When retrieving these settings using getBucket() method, they default to Value Ejection:
Name: eph-none
|
Type: EPHEMERAL
|
Quota: 100
|
Eject: VALUE
|
Compression: PASSIVE
|
|
Name: eph-nru
|
Type: EPHEMERAL
|
Quota: 100
|
Eject: VALUE
|
Compression: PASSIVE
|
Likewise, we'll need to have the methods available for the insertBucket() method.
Attachments
For Gerrit Dashboard: JCBC-1387 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
112920,2 | JCBC-1387: Add support for ephemeral ejection methods. | master | couchbase-java-client | Status: MERGED | +2 | +1 |