mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user