Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!-- ~ JBoss, Home of Professional Open Source ~ Copyright 2009 Red Hat Inc. 
	and/or its affiliates and other ~ contributors as indicated by the @author 
	tags. All rights reserved. ~ See the copyright.txt in the distribution for 
	a full listing of ~ individual contributors. ~ ~ This is free software; you 
	can redistribute it and/or modify it ~ under the terms of the GNU Lesser 
	General Public License as ~ published by the Free Software Foundation; either 
	version 2.1 of ~ the License, or (at your option) any later version. ~ ~ 
	This software is distributed in the hope that it will be useful, ~ but WITHOUT 
	ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS 
	FOR A PARTICULAR PURPOSE. See the GNU ~ Lesser General Public License for 
	more details. ~ ~ You should have received a copy of the GNU Lesser General 
	Public ~ License along with this software; if not, write to the Free ~ Software 
	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~ 02110-1301 USA, 
	or see the FSF site: http://www.fsf.org. -->
<infinispan>

	<global>
		<!-- Note that if these are left blank, defaults are used. See the user 
			guide for what these defaults are -->
		<asyncListenerExecutor
			factory="org.infinispan.executors.DefaultExecutorFactory">
			<properties>
				<property name="maxThreads" value="5" />
				<property name="threadNamePrefix" value="AsyncListenerThread" />
			</properties>
		</asyncListenerExecutor>

		<asyncTransportExecutor
			factory="org.infinispan.executors.DefaultExecutorFactory">
			<properties>
				<property name="maxThreads" value="25" />
				<property name="threadNamePrefix" value="AsyncSerializationThread" />
			</properties>
		</asyncTransportExecutor>

		<evictionScheduledExecutor
			factory="org.infinispan.executors.DefaultScheduledExecutorFactory">
			<properties>
				<property name="threadNamePrefix" value="EvictionThread" />
			</properties>
		</evictionScheduledExecutor>

		<replicationQueueScheduledExecutor
			factory="org.infinispan.executors.DefaultScheduledExecutorFactory">
			<properties>
				<property name="threadNamePrefix" value="ReplicationQueueThread" />
			</properties>
		</replicationQueueScheduledExecutor>

		<globalJmxStatistics enabled="false" jmxDomain="infinispan" />

		<serialization marshallerClass="org.infinispan.marshall.VersionAwareMarshaller"
			version="1.0" />

		<shutdown hookBehavior="DEFAULT" />
	</global>

	<default>
		<locking isolationLevel="REPEATABLE_READ"
			lockAcquisitionTimeout="20000" writeSkewCheck="false"
			concurrencyLevel="500" useLockStriping="false" />
	</default>
	
	<namedCache name="testCache">
		<loaders passivation="false" shared="true" preload="true">
			<leveldbStore
				location="/tmp/leveldb/53/data" 
				expiredLocation="/tmp/leveldb/53/expired"/>
		</loaders>
	</namedCache>

</infinispan>
New to GrepCode? Check out our FAQ X