A couple of more special tricks to get better performance out of

AVMSyncService.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-16 16:11:21 +00:00
parent 14ebe1726f
commit f5e509c18b
4 changed files with 76 additions and 9 deletions

View File

@@ -192,6 +192,15 @@ public interface AVMService
*/
public void createDirectory(String path, String name);
/**
* Create a new directory, in an already copy on written node.
* This should only be used if you really know what you're doing.
* @param parent The parent node.
* @param name The name of the new directory.
* @return A descriptor for the newly created directory.
*/
public AVMNodeDescriptor createDirectory(AVMNodeDescriptor parent, String name);
/**
* Create a new layered file.
* @param targetPath The simple absolute path that the new file will point at.
@@ -712,5 +721,5 @@ public interface AVMService
* Force copy on write of a path.
* @param path The path to force.
*/
public void forceCopy(String path);
public AVMNodeDescriptor forceCopy(String path);
}