public class DeletedNodeCleanupWorker extends AbstractNodeCleanupWorker
dbNodeService, jobLockService, logger, nodeDAO, transactionService| Constructor and Description |
|---|
DeletedNodeCleanupWorker()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
doCleanInternal()
Do the actual cleanup.
|
void |
setFromCustomCommitTime(long fromCustomCommitTime)
Set a custom "from commit time" that will consider only the transactions after this specified time
Setting a negative value or 0 will trigger the default behaviour to get the oldest "from time" for any deleted node
|
void |
setMinPurgeAgeDays(int minPurgeAgeDays)
Set the minimum age (days) that nodes and transactions must be before they get purged.
|
void |
setPurgeSize(int purgeSize)
Set the purge transaction block size.
|
doClean, refreshLock, register, setDbNodeService, setJobLockService, setNodeDAO, setRegistry, setTransactionServiceprotected List<String> doCleanInternal() throws Throwable
doCleanInternal in class AbstractNodeCleanupWorkerThrowablepublic void setMinPurgeAgeDays(int minPurgeAgeDays)
minPurgeAgeDays - the minimum age (in days) before nodes and transactions get purgedpublic void setFromCustomCommitTime(long fromCustomCommitTime)
fromCustomCommitTime - the custom from commit time valuepublic void setPurgeSize(int purgeSize)
purgeSize - intCopyright © 2005–2018 Alfresco Software. All rights reserved.