mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added transaction hook for store purges, version creations and version purges;
this allows an internal cache to be maintained that permits most calls to the heavyweight getLatestSnapshotID(String store) AVM API to be skipped. This addresses a performance problem noticed when the number of stores is large. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -142,6 +142,15 @@
|
||||
<property name="retryingTransactionHelper">
|
||||
<ref bean="retryingTransactionHelper"/>
|
||||
</property>
|
||||
<property name="createVersionTxnListener">
|
||||
<ref bean="createVersionTxnListener"/>
|
||||
</property>
|
||||
<property name="purgeVersionTxnListener">
|
||||
<ref bean="purgeVersionTxnListener"/>
|
||||
</property>
|
||||
<property name="purgeStoreTxnListener">
|
||||
<ref bean="purgeStoreTxnListener"/>
|
||||
</property>
|
||||
|
||||
<!-- Poll interval to check getLatestSnapshotID (in milliseconds) -->
|
||||
<property name="pollInterval" value="5000"/>
|
||||
|
Reference in New Issue
Block a user