4 Commits

Author SHA1 Message Date
Britt Park
fdb092052e A little bit of defensive programming I left out.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4621 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-15 17:41:38 +00:00
Britt Park
d9a20c4e55 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
2006-12-15 06:42:50 +00:00
Britt Park
e76fc329b6 Refinements to RetryingTransactionHelper to make it equivalent to
executeInUserTransaction().
Changed the on close callback for write listeners to use a RetryingTransaction.
The point of this exercise is to make it possible for clients of the core server
to ignore transient resource contention failures.  CIFS, for example, will be able 
to take advantage of this, since a transient error condition currently results in a dead
share.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-13 17:03:44 +00:00
Britt Park
b4d49c2c3c Checkpoint: RetryingTransactionHelper, which executes a unit of work in a UserTransaction
with retries for transient failures.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-11 19:57:20 +00:00