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 |
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, setTransactionService
protected List<String> doCleanInternal() throws Throwable
doCleanInternal
in class AbstractNodeCleanupWorker
Throwable
public void setMinPurgeAgeDays(int minPurgeAgeDays)
minPurgeAgeDays
- the minimum age (in days) before nodes and transactions get purgedpublic void setPurgeSize(int purgeSize)
purgeSize
- intCopyright © 2005–2017 Alfresco Software. All rights reserved.