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

Michael Dürig commented on OAK-88:
----------------------------------

In revision 1365573 I added some initial support for this. Auto refresh mode is 
however still disabled. To enable, edit {{RepositoryImpl.login()}} and set the 
{{autoRefresh}} parameter of the {{SessionDelegate}} constructor to {{true}}. 
We need to figure out how we can enable this on a per session basis. 
                
> Auto-refresh mode
> -----------------
>
>                 Key: OAK-88
>                 URL: https://issues.apache.org/jira/browse/OAK-88
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: jcr
>            Reporter: Jukka Zitting
>
> We should have optional support for clients that assume sessions to always 
> reflect the latest state of the repository.
> One way of doing that would be some "auto-refresh" mode that makes the 
> session refresh itself whenever any JCR method call is made. The performance 
> hit for such a mode should be reasonably small as long as the refresh() 
> method can be optimized to a no-op in case the underlying repository hasn't 
> changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to