<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC
    "-//SPRING//DTD BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd">
<!-- 
	author: keshav   
	$Id$ 
-->

<!-- Root application context -->

<beans>
	<!-- Declaration of GigaSpaces factory bean -->
	<bean id="gigaspace"
		class="org.springmodules.javaspaces.gigaspaces.GigaSpacesFactoryBean">
		<property name="urls">
			<list>
				<!--  <value>jini://*/*/remotingSpace</value> -->
				<value>rmi://localhost:10098/./remotingSpace</value>
			</list>
		</property>
	</bean>

	<!--  Declaration of GigaSpaces uid factory -->
	<bean id="gigaSpacesUidFactory"
		class="org.springmodules.javaspaces.gigaspaces.remote.support.GigaSpacesUidFactory">
		<property name="space" ref="gigaspace" />
	</bean>

	<!-- Declaration of GigaSpace template-->
	<bean id="gigaspacesTemplate"
		class="org.springmodules.javaspaces.gigaspaces.GigaSpacesTemplate">
		<property name="space" ref="gigaspace" />
	</bean>

	<bean id="testBeanWorker"
		class="org.springmodules.javaspaces.DelegatingWorker"
		singleton="false">
		<property name="javaSpaceTemplate" ref="gigaspacesTemplate" />
		<property name="delegate">
			<ref local="taskBean" />
		</property>
		<property name="businessInterface">
			<value>ubic.gemma.javaspaces.gigaspaces.ExpressionExperimentTask</value>
		</property>
	</bean>
	<bean id="javaSpaceInterceptor"
		class="org.springmodules.javaspaces.gigaspaces.GigaSpacesInterceptor">
		<property name="javaSpaceTemplate" ref="gigaspacesTemplate" />
		<property name="uidFactory" ref="gigaSpacesUidFactory" />
		<property name="synchronous">
			<value>true</value>
		</property>
		<!--
			The Time for waiting to take the result from the space by the master
		-->
		<property name="timeoutMillis">
			<value>60000</value>
		</property>

		<!--
			Comment out this property for "service seeking" behavior 
			where the endpoint is assumed to host a service to invoke.
		-->
		<!--
			<property name="serializableTarget" ref="taskBean">
			</property>
		-->
	</bean>
	<!--
		This is the client-side proxy.
	-->
	<bean id="proxy"
		class="org.springframework.aop.framework.ProxyFactoryBean">
		<property name="interceptorNames">
			<list>
				<value>javaSpaceInterceptor</value>
				<!--
					<value>PerformanceMonitorInterceptor</value>
				-->
			</list>
		</property>
		<property name="proxyInterfaces">
			<list>
				<value>
					ubic.gemma.javaspaces.gigaspaces.ExpressionExperimentTask
				</value>
			</list>
		</property>
	</bean>
	<!--
		Simple test target
	-->
	<bean id="taskBean"
		class="ubic.gemma.javaspaces.gigaspaces.ExpressionExperimentTaskImpl">
		<property name="expressionExperimentService">
			<ref bean="expressionExperimentService" />
		</property>
		<property name="geoDatasetService">
			<ref bean="geoDatasetService" />
		</property>
	</bean>
</beans>


<commit_msg>increased the timeout millis so it will not interfere<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC
    "-//SPRING//DTD BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd">
<!-- 
	author: keshav   
	$Id$ 
-->

<!-- Root application context -->

<beans>
	<!-- Declaration of GigaSpaces factory bean -->
	<bean id="gigaspace"
		class="org.springmodules.javaspaces.gigaspaces.GigaSpacesFactoryBean">
		<property name="urls">
			<list>
				<!--  <value>jini://*/*/remotingSpace</value> -->
				<value>rmi://localhost:10098/./remotingSpace</value>
			</list>
		</property>
	</bean>

	<!--  Declaration of GigaSpaces uid factory -->
	<bean id="gigaSpacesUidFactory"
		class="org.springmodules.javaspaces.gigaspaces.remote.support.GigaSpacesUidFactory">
		<property name="space" ref="gigaspace" />
	</bean>

	<!-- Declaration of GigaSpace template-->
	<bean id="gigaspacesTemplate"
		class="org.springmodules.javaspaces.gigaspaces.GigaSpacesTemplate">
		<property name="space" ref="gigaspace" />
	</bean>

	<bean id="testBeanWorker"
		class="org.springmodules.javaspaces.DelegatingWorker"
		singleton="false">
		<property name="javaSpaceTemplate" ref="gigaspacesTemplate" />
		<property name="delegate">
			<ref local="taskBean" />
		</property>
		<property name="businessInterface">
			<value>ubic.gemma.javaspaces.gigaspaces.ExpressionExperimentTask</value>
		</property>
	</bean>
	<bean id="javaSpaceInterceptor"
		class="org.springmodules.javaspaces.gigaspaces.GigaSpacesInterceptor">
		<property name="javaSpaceTemplate" ref="gigaspacesTemplate" />
		<property name="uidFactory" ref="gigaSpacesUidFactory" />
		<property name="synchronous">
			<value>true</value>
		</property>
		<!--
			The Time for waiting to take the result from the space by the master
		-->
		<property name="timeoutMillis">
			<value>60000000</value>
		</property>

		<!--
			Comment out this property for "service seeking" behavior 
			where the endpoint is assumed to host a service to invoke.
		-->
		<!--
			<property name="serializableTarget" ref="taskBean">
			</property>
		-->
	</bean>
	<!--
		This is the client-side proxy.
	-->
	<bean id="proxy"
		class="org.springframework.aop.framework.ProxyFactoryBean">
		<property name="interceptorNames">
			<list>
				<value>javaSpaceInterceptor</value>
				<!--
					<value>PerformanceMonitorInterceptor</value>
				-->
			</list>
		</property>
		<property name="proxyInterfaces">
			<list>
				<value>
					ubic.gemma.javaspaces.gigaspaces.ExpressionExperimentTask
				</value>
			</list>
		</property>
	</bean>
	<!--
		Simple test target
	-->
	<bean id="taskBean"
		class="ubic.gemma.javaspaces.gigaspaces.ExpressionExperimentTaskImpl">
		<property name="expressionExperimentService">
			<ref bean="expressionExperimentService" />
		</property>
		<property name="geoDatasetService">
			<ref bean="geoDatasetService" />
		</property>
	</bean>
</beans>



{'fraction_non_alphanumeric': 0.16095123212131657, 'fraction_numerical': 0.004997415130105118, 'mean_word_length': 4.095697980684811, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 2, '>': 163, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4156536', 'n_tokens_mistral': 2167, 'n_tokens_neox': 1915, 'n_words': 346}