Added two more special purpose calls, to improve flatten performance from

rotten to ok.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-15 21:26:26 +00:00
parent dfe49bf51b
commit 14ebe1726f
6 changed files with 105 additions and 4 deletions

View File

@@ -696,4 +696,21 @@ public interface AVMService
* @param child The child node to link.
*/
public void link(AVMNodeDescriptor parent, String name, AVMNodeDescriptor child);
/**
* Flatten a direct child of a layered directory. This does
* the equivalent of removing the given child from the directory
* and then doing an uncover. This routine makes many dangerous
* assumptions and is only for use by AVMSyncService. Don't use it
* if you don't know precisely what you are doing.
* @param lDir The layered directory node.
* @param name The name to flatten.
*/
public void flatten(AVMNodeDescriptor lDir, String name);
/**
* Force copy on write of a path.
* @param path The path to force.
*/
public void forceCopy(String path);
}