Skip to content

Commit 82fea41

Browse files
author
Ajay Kannan
committed
---
yaml --- r: 4739 b: refs/heads/logging-alpha c: 0d794ea h: refs/heads/master i: 4737: be5ea4e 4735: fc183ee
1 parent c6fd1e3 commit 82fea41

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

  • branches/logging-alpha/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
@@ -12,7 +12,7 @@ refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
1414
refs/heads/gcs-nio: 283aeaf15efdcf3621eb6859f05e55ad7764375d
15-
refs/heads/logging-alpha: 76e3b3ef5ead06e8741d887ca8c337451470692a
15+
refs/heads/logging-alpha: 0d794eaf55f61ad3156d3ecbce9b64562e870868
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0
1818
refs/tags/v0.1.2: 3eb3fe866ba22487686048f45d927b8c8638ea3f

branches/logging-alpha/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)