mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	16937: Merged V3.2 to V3.1
      16891: Merged V2.2 to V3.1
         16772: Fix unreported bugs found by new code (ArgumentHelper)
         16773: AlfrescoJobExecutor thread is now a 'daemon' thread
         16774: Increases sizes of 'parent assocs' and 'NodeRef-ID' caches
         16775: Session L1 cache size improvements
         16777: Transactional cache issues warning when it overflows
         16779: Fixed ETHREEOH-2657: Performance: slow answers to directory listings
         16797: Set AVM L1 Hibernate object retention to 0
         16829: Read vs Write split in Session size management
         16834: Build fix for SessionSizeManagementTest
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /alfresco/BRANCHES/V2.2:r16772-16775,16777,16779,16797,16829,16834
   Merged /alfresco/BRANCHES/V3.1:r16891
   Merged /alfresco/BRANCHES/V3.2:r16937
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
		
	
		
			
				
	
	
		
			78 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version='1.0' encoding='UTF-8'?>
 | 
						|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
 | 
						|
 
 | 
						|
<!-- Check that the resource interceptor is working -->
 | 
						|
<beans>
 | 
						|
   
 | 
						|
    <import resource="classpath:alfresco/application-context.xml"/>
 | 
						|
 | 
						|
    <bean id="testSessionSizeResourceInterceptor" class="org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor" >
 | 
						|
        <property name="methodResourceManagers">
 | 
						|
            <list>
 | 
						|
                <ref bean="sessionSizeResourceManager"></ref>
 | 
						|
            </list>
 | 
						|
        </property>
 | 
						|
        <property name="elapsedTimeBeforeActivationMillis">
 | 
						|
            <value>1000</value>
 | 
						|
        </property>
 | 
						|
        <property name="resourceManagerCallFrequencyMillis">
 | 
						|
            <value>5000</value>
 | 
						|
        </property>
 | 
						|
    </bean>
 | 
						|
    
 | 
						|
    <bean id="sessionSizeResourceManager" class="org.alfresco.repo.domain.hibernate.SessionSizeResourceManager">
 | 
						|
        <property name="sessionFactory">
 | 
						|
            <ref bean="sessionFactory" />
 | 
						|
        </property>
 | 
						|
        <property name="writeThreshold">
 | 
						|
            <value>2000</value>
 | 
						|
        </property>
 | 
						|
        <property name="readThreshold">
 | 
						|
            <value>50000</value>
 | 
						|
        </property>
 | 
						|
    </bean>
 | 
						|
 | 
						|
    <bean id="testSessionSizeDbNodeService" class="org.springframework.aop.framework.ProxyFactoryBean">
 | 
						|
        <property name="proxyInterfaces">
 | 
						|
            <value>org.alfresco.service.cmr.repository.NodeService</value>
 | 
						|
        </property>
 | 
						|
        <property name="target">
 | 
						|
            <ref bean="dbNodeService" />
 | 
						|
        </property>
 | 
						|
        <property name="interceptorNames">
 | 
						|
            <list>
 | 
						|
                <value>testSessionSizeResourceInterceptor</value>
 | 
						|
            </list>
 | 
						|
        </property>
 | 
						|
    </bean>
 | 
						|
 | 
						|
    <!-- Point the IntegrityChecker to the correct NodeService -->
 | 
						|
    <bean id="integrityChecker" class="org.alfresco.repo.node.integrity.IntegrityChecker" init-method="init">
 | 
						|
        <property name="policyComponent">
 | 
						|
            <ref bean="policyComponent"/>
 | 
						|
        </property>
 | 
						|
        <property name="dictionaryService">
 | 
						|
            <ref bean="dictionaryService" />
 | 
						|
        </property>
 | 
						|
        <property name="nodeService">
 | 
						|
            <ref bean="testSessionSizeDbNodeService" />
 | 
						|
        </property>
 | 
						|
        <property name="tenantService">
 | 
						|
            <ref bean="tenantService" />
 | 
						|
        </property>
 | 
						|
        <property name="enabled">
 | 
						|
            <value>true</value>
 | 
						|
        </property>
 | 
						|
        <property name="traceOn">
 | 
						|
            <value>false</value>
 | 
						|
        </property>
 | 
						|
        <property name="failOnViolation" >
 | 
						|
            <value>true</value>
 | 
						|
        </property>
 | 
						|
        <property name="maxErrorsPerTransaction" >
 | 
						|
            <value>5</value>
 | 
						|
        </property>
 | 
						|
    </bean>
 | 
						|
 | 
						|
   
 | 
						|
</beans> |