mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.1.N (5.1.1) to HEAD (5.1)
113397 tvalkevych: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1) 113290 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) 113278 adavis: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6) 112985 amorarasu: Merged DEV to V4.1-BUG-FIX (4.1.11) 111742: MNT-10305: DeletedNodeCleanupWorker should be improved - Delete in multiple statements, filtering by transactions with commit time in a time interval. 112722: Improved the algorithm that sets appropriate time windows for delete, based on the evolution of the purge process. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -323,12 +323,13 @@ public interface NodeDAO extends NodeBulkLoader
|
||||
public void deleteNode(Long nodeId);
|
||||
|
||||
/**
|
||||
* Purge deleted nodes where their participating transactions are older than a given time.
|
||||
* Purge deleted nodes where their participating transactions are in-between the given time interval.
|
||||
*
|
||||
* @param maxTxnCommitTimeMs ignore transactions created <i>after</i> this time
|
||||
* @return Returns the number of deleted nodes purged
|
||||
* @param fromTxnCommitTimeMs from commit time
|
||||
* @param toTxnCommitTimeMs to commit time
|
||||
* @return Returns the number of deleted nodes purged
|
||||
*/
|
||||
public int purgeNodes(long maxTxnCommitTimeMs);
|
||||
public int purgeNodes(long fromTxnCommitTimeMs, long toTxnCommitTimeMs);
|
||||
|
||||
/*
|
||||
* Properties
|
||||
|
Reference in New Issue
Block a user