mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-02 17:35:18 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
14 lines
395 B
Java
14 lines
395 B
Java
package org.alfresco.repo.avm;
|
|
|
|
|
|
public interface RetryingTransaction
|
|
{
|
|
|
|
/**
|
|
* Perform a set of operations under a single transaction.
|
|
* Keep trying if the operation fails because of a concurrency issue.
|
|
* @param callback The worker.
|
|
* @param write Whether this is a write operation.
|
|
*/
|
|
public void perform(RetryingTransactionCallback callback, boolean write);
|
|
} |