Skip to content

Instantly share code, notes, and snippets.

@ahodroj
Created April 12, 2016 03:52
Show Gist options
  • Save ahodroj/f4a4d52b5ce32b3f8c504fbb332a695e to your computer and use it in GitHub Desktop.
Save ahodroj/f4a4d52b5ce32b3f8c504fbb332a695e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:os-core="http://www.openspaces.org/schema/core"
xmlns:blob-store="http://www.openspaces.org/schema/rocksdb-blob-store"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
http://www.openspaces.org/schema/core http://www.openspaces.org/schema/11.0/core/openspaces-core.xsd
http://www.openspaces.org/schema/rocksdb-blob-store http://www.openspaces.org/schema/11.0/rocksdb-blob-store/openspaces-rocksdb-blobstore.xsd">
<blob-store:rocksdb-blob-store id="myBlobStore" paths="[/mnt/db1,/mnt/db2]"
mapping-dir="/tmp/mapping"/>
<os-core:embedded-space id="space" name="mySpace" >
<os-core:blob-store-data-policy blob-store-handler="myBlobStore" persistent="true"/>
</os-core:embedded-space>
<os-core:giga-space id="gigaSpace" space="space"/>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment