Odds and ends. Started infrastructure for AVM command line utilities.

Loosened cache invalidation for write operations so that layered/write 
lookups are not discarded.  Changed direct buffer copies to use 
System.arraycopy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-27 14:42:46 +00:00
parent ec48ee316d
commit ef669bec2a
5 changed files with 138 additions and 10 deletions

View File

@@ -268,7 +268,8 @@ public class LookupCache
for (Map.Entry<LookupKey, Lookup> entry : fCache.entrySet())
{
if ((entry.getKey().getStoreName().equals(storeName) &&
!entry.getKey().isWrite()) || entry.getValue().isLayered())
!entry.getKey().isWrite()) ||
(!entry.getKey().isWrite() && entry.getValue().isLayered()))
{
toDelete.add(entry.getKey());
}