Skip to content

Commit 8f31723

Browse files
committed
Add a couple javadocs to MemcacheService
1 parent 6d08cf9 commit 8f31723

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/main/java/com/googlecode/objectify/cache/MemcacheService.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class CasPut {
2222
private final int expirationSeconds;
2323
}
2424

25+
/**
26+
* @return the value in memcache for this, or null if there was nothing there
27+
*/
2528
Object get(final String key);
2629

2730
/**
@@ -40,7 +43,10 @@ class CasPut {
4043
/** Values can be null */
4144
void putAll(final Map<String, Object> values);
4245

43-
/** Values can be null */
46+
/**
47+
* Values can be null
48+
* @return a set of all the keys that succeeded
49+
*/
4450
Set<String> putIfUntouched(final Map<String, CasPut> values);
4551

4652
void deleteAll(final Collection<String> keys);

0 commit comments

Comments
 (0)