mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Performance tweaks for AVM Indexing.
Removed calls to getXXXPaths(). Changed mappings of properties and aspects on AVM Nodes to favor get all calls. Added getAspects() and getNodeProperties() which take AVMNodeDescriptors. Used these in AVM Indexing to reduce the number of redundant full lookups. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
package org.alfresco.repo.avm;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.service.namespace.QName;
|
||||
@@ -72,4 +73,10 @@ public interface AVMNodePropertyDAO
|
||||
* @param name The name of the property to delete.
|
||||
*/
|
||||
public void delete(AVMNode node, QName name);
|
||||
|
||||
/**
|
||||
* Get an iterator over all properties.
|
||||
* @return
|
||||
*/
|
||||
public Iterator<AVMNodeProperty> iterate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user