Author: mreutegg
Date: Tue Mar 4 08:10:13 2014
New Revision: 1573923
URL: http://svn.apache.org/r1573923
Log:
OAK-1481: clarify DS.find caching behavior
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java?rev=1573923&r1=1573922&r2=1573923&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
(original)
+++
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStore.java
Tue Mar 4 08:10:13 2014
@@ -46,10 +46,10 @@ public interface DocumentStore {
/**
* Get the document with the {@code key}. The implementation may serve the
* document from a cache, but the cached document must not be older than
- * the given {@code maxCacheAge}. An implementation must invalidate a
cached
- * document when it detects it is outdated. That is, a subsequent call to
- * {@link #find(Collection, String)} must return the newer version of the
- * document.
+ * the given {@code maxCacheAge} in milliseconds. An implementation must
+ * invalidate a cached document when it detects it is outdated. That is, a
+ * subsequent call to {@link #find(Collection, String)} must return the
+ * newer version of the document.
* <p>
* The returned document is immutable.
*