mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Lookup caching is working. It's fairly heavy handed in its invalidation
strategy, but seems to give a 10-20% performance boost. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,6 +57,15 @@ public class LookupKey
|
||||
fIncludeDeleted = includeDeleted;
|
||||
}
|
||||
|
||||
public LookupKey(LookupKey other)
|
||||
{
|
||||
fVersion = other.fVersion;
|
||||
fPath = other.fPath;
|
||||
fStoreName = other.fStoreName;
|
||||
fWrite = other.fWrite;
|
||||
fIncludeDeleted = other.fIncludeDeleted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the writeness of this key.
|
||||
*/
|
||||
@@ -125,6 +134,6 @@ public class LookupKey
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return fStoreName + ":" + fPath;
|
||||
return fStoreName + ":" + fPath + "-" + fVersion + "-" + fWrite + "-" + fIncludeDeleted;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user