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:
@@ -156,17 +156,19 @@ interface Repository
|
||||
* Lookup a node.
|
||||
* @param version The version to look under.
|
||||
* @param path The path to the node.
|
||||
* @param write Whether this is in a write context.
|
||||
* @return A Lookup object.
|
||||
*/
|
||||
public Lookup lookup(int version, String path);
|
||||
public Lookup lookup(int version, String path, boolean write);
|
||||
|
||||
/**
|
||||
* Lookup a directory.
|
||||
* @param version The version to look under.
|
||||
* @param path The path to the directory.
|
||||
* @param write Whether this is in a write context.
|
||||
* @return A Lookup object.
|
||||
*/
|
||||
public Lookup lookupDirectory(int version, String path);
|
||||
public Lookup lookupDirectory(int version, String path, boolean write);
|
||||
|
||||
/**
|
||||
* For a layered node, get its indirection.
|
||||
|
Reference in New Issue
Block a user