|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.avm.OrphanReaper
public class OrphanReaper
This is the background thread for reaping no longer referenced nodes in the AVM repository. These orphans arise from purge operations.
Constructor Summary | |
---|---|
OrphanReaper()
Create one with default parameters. |
Method Summary | |
---|---|
void |
activate()
This is really for debugging and testing. |
void |
doBatch()
Do a batch of cleanup work. |
void |
execute()
|
boolean |
isActive()
See if the reaper is actively reaping. |
void |
setActiveBaseSleep(long interval)
Set the active base sleep interval. |
void |
setBatchSize(int size)
Set the batch size. |
void |
setJobLockService(JobLockService jobLockService)
|
void |
setTransactionService(TransactionService transactionService)
Set the transaction service. |
void |
shutDown()
Shutdown the reaper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrphanReaper()
Method Detail |
---|
public void execute()
public void setActiveBaseSleep(long interval)
interval
- The interval to set in ms.public void setBatchSize(int size)
size
- The batch size to set.public void setTransactionService(TransactionService transactionService)
transactionService
- The service.public void setJobLockService(JobLockService jobLockService)
jobLockService
- service used to ensure that reaper runs are not duplicatedpublic void shutDown()
public void activate()
public boolean isActive()
public void doBatch()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |