[jira] [Commented] (CMIS-752) Cache of ObjectType
[ https://issues.apache.org/jira/browse/CMIS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910220#comment-13910220 ] Marco Spasiano commented on CMIS-752: - It's ok for us. But we cannot test it, because we use alfresco-opencmis-extension version 0.8, and is not compatible with the trunk. > Cache of ObjectType > --- > > Key: CMIS-752 > URL: https://issues.apache.org/jira/browse/CMIS-752 > Project: Chemistry > Issue Type: New Feature > Components: opencmis-client-bindings >Affects Versions: OpenCMIS 0.9.0 >Reporter: Marco Spasiano >Assignee: Florian Müller > > We have a lot of ObjectType in our repository, and the cache of ObjectType > is stored in CMIS Session. > Is it possible to cache the ObjectType in a Global Cache? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CMIS-752) Cache of ObjectType
[ https://issues.apache.org/jira/browse/CMIS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909494#comment-13909494 ] Florian Müller commented on CMIS-752: - I've made two changes. # There is now an interface for the type definition cache (org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache), which allows you to plug in your own cache implementation and strategy. A custom cache implementation could be shared across multiple sessions. # Each session now has a cache for ObjectType objects. That is, the number of ObjectType objects per session should be much smaller. This is not exactly what you asked for, but it might help. Please let us know if this is enough to close this issue. > Cache of ObjectType > --- > > Key: CMIS-752 > URL: https://issues.apache.org/jira/browse/CMIS-752 > Project: Chemistry > Issue Type: New Feature > Components: opencmis-client-bindings >Affects Versions: OpenCMIS 0.9.0 >Reporter: Marco Spasiano > > We have a lot of ObjectType in our repository, and the cache of ObjectType > is stored in CMIS Session. > Is it possible to cache the ObjectType in a Global Cache? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CMIS-752) Cache of ObjectType
[ https://issues.apache.org/jira/browse/CMIS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876396#comment-13876396 ] Florian Müller commented on CMIS-752: - A repository could send a different type definition for the same type to different users. For example, the display names could be localized for each user. Or some users could be allowed to see more/different types and property types. It would be difficult to handle all these cases in a global cache. Also, what would be the definition of global? Per VM? Per classloader (web app)? Are there cache groups? Implementing a global cache is more difficult than it seems. > Cache of ObjectType > --- > > Key: CMIS-752 > URL: https://issues.apache.org/jira/browse/CMIS-752 > Project: Chemistry > Issue Type: New Feature > Components: opencmis-client-bindings >Affects Versions: OpenCMIS 0.9.0 >Reporter: Marco Spasiano > > We have a lot of ObjectType in our repository, and the cache of ObjectType > is stored in CMIS Session. > Is it possible to cache the ObjectType in a Global Cache? -- This message was sent by Atlassian JIRA (v6.1.5#6160)
