File tree Expand file tree Collapse file tree
branches/update-datastore/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3
66refs/heads/pubsub-alpha: 1a0e970f265af871e02274085b9662b3fe29058b
77refs/heads/resource-manager: ebf4adc5ee835cd2086c4ac5b4e78d01a5a005a7
8- refs/heads/update-datastore: 76e3b3ef5ead06e8741d887ca8c337451470692a
8+ refs/heads/update-datastore: 0d794eaf55f61ad3156d3ecbce9b64562e870868
99refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
1010refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd
1111refs/tags/v0.0.11: ffbfba48a6426ff63c08ff2117e58681f251fbf2
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ public abstract class ReadOption implements Serializable {
3030 private static final long serialVersionUID = -4406964829189800528L ;
3131
3232 /**
33- * Specifies eventual consistency for reads from Datastore.
33+ * Specifies eventual consistency for reads from Datastore. Lookups and ancestor queries using
34+ * this option permit Datastore to return stale results.
3435 */
3536 public static final class EventualConsistency extends ReadOption {
3637
@@ -50,7 +51,8 @@ public boolean isEventual() {
5051 private ReadOption () {}
5152
5253 /**
53- * Returns a {@code ReadOption} that specifies eventual consistency.
54+ * Returns a {@code ReadOption} that specifies eventual consistency, allowing Datastore to return
55+ * stale results from gets, fetches, and ancestor queries.
5456 */
5557 public static EventualConsistency eventualConsistency () {
5658 return new EventualConsistency (true );
You can’t perform that action at this time.
0 commit comments