mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Changed copy on write to occur during lookup, rather than after lookup.
Much carnage, but it's way faster. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -56,28 +56,11 @@ interface DirectoryNode extends AVMNode
|
||||
*/
|
||||
public AVMNodeDescriptor lookupChild(AVMNodeDescriptor mine, String name);
|
||||
|
||||
/**
|
||||
* Add a child node. Fails if child already exists.
|
||||
* Copy is possible.
|
||||
* @param name The name to give the child.
|
||||
* @param child The child to add.
|
||||
* @param The lookup path.
|
||||
*/
|
||||
public boolean addChild(String name, AVMNode child, Lookup lPath);
|
||||
|
||||
/**
|
||||
* Remove a child node. Fails if child does not exist.
|
||||
* Copy is possible.
|
||||
* @param name The name of the child to remove.
|
||||
* @param lPath The lookup path.
|
||||
*/
|
||||
public boolean removeChild(String name, Lookup lPath);
|
||||
|
||||
/**
|
||||
* Remove a child directly. No copy is possible.
|
||||
* @param name The name of the child to remove.
|
||||
*/
|
||||
public void rawRemoveChild(String name);
|
||||
public void removeChild(String name);
|
||||
|
||||
/**
|
||||
* Get a directory listing.
|
||||
|
Reference in New Issue
Block a user