More fussing with lookup cache. It seems a hair faster.

Some cleanup of the retrying transaction stuff.
Minor mods to one stress test to account for changes to retrying
transactions.  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-12-15 06:42:50 +00:00
parent 8c777dbb94
commit d9a20c4e55
6 changed files with 214 additions and 86 deletions

View File

@@ -27,13 +27,10 @@ import java.util.Map;
import java.util.Random;
import java.util.Set;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.service.cmr.avm.AVMException;
import org.alfresco.service.cmr.avm.AVMNodeDescriptor;
import org.alfresco.service.cmr.avm.AVMService;
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
import org.hibernate.HibernateException;
import org.springframework.dao.ConcurrencyFailureException;
import org.alfresco.service.cmr.repository.ContentIOException;
/**
* This is a Runnable which randomly performs operations on an AVM Repository.
@@ -572,11 +569,11 @@ class AVMTester implements Runnable
private void handleException(Exception e)
{
e.printStackTrace(System.err);
if (e instanceof AVMException ||
e instanceof AlfrescoRuntimeException ||
e instanceof ConcurrencyFailureException ||
e instanceof HibernateException ||
e instanceof InvalidNodeRefException)
if (e instanceof AVMException)
{
return;
}
if (e instanceof ContentIOException)
{
return;
}