jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1481) clarify DS.find caching behavior
Date Tue, 04 Mar 2014 08:13:21 GMT

    [ https://issues.apache.org/jira/browse/OAK-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919122#comment-13919122
] 

Marcel Reutegger commented on OAK-1481:
---------------------------------------

Agreed. Updated JavaDoc accordingly.

> clarify DS.find caching behavior
> --------------------------------
>
>                 Key: OAK-1481
>                 URL: https://issues.apache.org/jira/browse/OAK-1481
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: core
>            Reporter: Julian Reschke
>            Assignee: Marcel Reutegger
>            Priority: Trivial
>             Fix For: 0.18
>
>
> The Javadoc for "find(Collection<T> collection, String key, int maxCacheAge)" should
be clarified wrt:
> - maxCacheAge == 0 (mongods seems to invalidate)
> and for "<T extends Document> T find(Collection<T> collection, String key)"
> - what the implied caching behavior is (mongods seems to assume Integer.MAX_VALUE)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message