Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JCBC-128: Add ZERO to the PersistTo ENUM.

This small changeset is the prerequisite for a larger change
in the JCBC client, so that it is possible to only wait for
proper replication and not for persistence too. See the
proper commit in couchbase-java-client tagged with JCBC-128
for more details and tests.

Change-Id: I3b1385a7a9553170a46d7ef72d6b537c0997b351
Reviewed-by: Michael Wiederhold <>
Tested-by: Michael Wiederhold <>
  • Loading branch information...
commit f0e976235a9bf95f74d71d294b499a2bde8cbb9b 1 parent aedb00d
@daschl daschl authored mikewied committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/net/spy/memcached/
5 src/main/java/net/spy/memcached/
@@ -26,6 +26,11 @@
* PersistTo codes for a Observe operation.
public enum PersistTo {
+ /**
+ * Don't wait for persistence on any nodes.
+ */
+ ZERO(0),
* Persist to the Master. ONE implies MASTER.
Please sign in to comment.
Something went wrong with that request. Please try again.