Added a primitive but seemingly effective store name cache. Switching the

stores table to a synthetic primary key caused a 15% performance drop. This gets
that performance back, plus or minus.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-12-02 20:53:33 +00:00
parent b8ff632f15
commit b19c40939f
3 changed files with 41 additions and 1 deletions

View File

@@ -69,4 +69,9 @@ public interface AVMStoreDAO
* @return The store.
*/
public AVMStore getByID(long id);
/**
* Invalidate the by name lookup cache.
*/
public void invalidateCache();
}