<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:gfe="http://www.springframework.org/schema/geode"
	   xmlns:util="http://www.springframework.org/schema/util"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xsi:schemaLocation="
	   	http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/geode https://www.springframework.org/schema/geode/spring-geode.xsd
	   	http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd
">

	<util:properties id="gemfireProperties">
		<prop key="name">RegionWithDiskStoreAndPersistenceEvictionSettingsTest</prop>
		<prop key="log-level">error</prop>
	</util:properties>

	<gfe:cache properties-ref="gemfireProperties"/>

	<gfe:disk-store id="DiskStoreOne" auto-compact="true" compaction-threshold="75">
		<gfe:disk-dir location="." max-size="1024"/>
	</gfe:disk-store>

	<gfe:partitioned-region id="NotPersistentNoOverflowRegion" persistent="false" disk-store-ref="DiskStoreOne">
	</gfe:partitioned-region>

	<gfe:partitioned-region id="NotPersistentOverflowRegion" persistent="false" disk-store-ref="DiskStoreOne">
		<gfe:eviction action="OVERFLOW_TO_DISK"/>
	</gfe:partitioned-region>

	<gfe:partitioned-region id="PersistentNoOverflowRegion" persistent="true" disk-store-ref="DiskStoreOne">
		<gfe:eviction action="LOCAL_DESTROY"/>
	</gfe:partitioned-region>

	<gfe:partitioned-region id="PersistentOverflowRegion" persistent="true" disk-store-ref="DiskStoreOne">
		<gfe:eviction action="OVERFLOW_TO_DISK"/>
	</gfe:partitioned-region>

</beans>
