Skip to content

HTTPS clone URL

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-on: http://review.couchbase.org/21415
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
  • 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/PersistTo.java
View
5 src/main/java/net/spy/memcached/PersistTo.java
@@ -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.