Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1
Description
Most of the time when a document is requested it is expected to be there. In caching use cases (or similar) though this might not be the case. In that case it can be beneficial to not throw an exception (which is costly on the JVM) and just return a dummy get result instead.
Proposed is an option called throwIfNotFound(boolean) which controls this setting.
Attachments
Gerrit Reviews
For Gerrit Dashboard: JCBC-1920 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
170357,5 | JCBC-1920: Allow to not throw DocumentNotFoundException on get variants. | master | couchbase-jvm-clients | Status: ABANDONED | 0 | +1 |