Skip to content

Commit 6585811

Browse files
author
Ajay Kannan
committed
---
yaml --- r: 2771 b: refs/heads/update-datastore c: 0d794ea h: refs/heads/master i: 2769: f48f2c5 2767: e4244f6
1 parent 53d63ed commit 6585811

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

  • branches/update-datastore/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55
refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3
66
refs/heads/pubsub-alpha: 1a0e970f265af871e02274085b9662b3fe29058b
77
refs/heads/resource-manager: ebf4adc5ee835cd2086c4ac5b4e78d01a5a005a7
8-
refs/heads/update-datastore: 76e3b3ef5ead06e8741d887ca8c337451470692a
8+
refs/heads/update-datastore: 0d794eaf55f61ad3156d3ecbce9b64562e870868
99
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
1010
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd
1111
refs/tags/v0.0.11: ffbfba48a6426ff63c08ff2117e58681f251fbf2

branches/update-datastore/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/ReadOption.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)