Implements JIRA improvement SGF-223 enabling Spring Data GemFire to create GemFire Disk Store directory locations automatically (based on nested <gfe:disk-dir> elements inside the <gfe:disk-store> element specified in Spring config) without the user having to create the disk directories for the location manually, unlike GemFire's native configuration options (such as cache.xml).
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:gfe="http://www.springframework.org/schema/gemfire"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
|
||||
">
|
||||
|
||||
<gfe:cache/>
|
||||
|
||||
<gfe:disk-store id="DiskStoreOne">
|
||||
<gfe:disk-dir location="./gemfire/disk-stores/ds1"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
<gfe:disk-store id="DiskStoreTwo">
|
||||
<gfe:disk-dir location="./gemfire/disk-stores/local/ds2"/>
|
||||
<gfe:disk-dir location="./gemfire/disk-stores/remote/ds2"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
<gfe:disk-store id="DiskStoreThree">
|
||||
<gfe:disk-dir location="./gfe/ds/local/store3"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user