Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?xml version="1.0"?>
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config http://xmlns.oracle.com/coherence/coherence-cache-config/1.2/coherence-cache-config.xsd">
<defaults>
<serializer>pof</serializer>
</defaults>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>TestCache</cache-name>
<scheme-name>TestCacheScheme</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>TestCacheScheme</scheme-name>
<service-name>TestCacheService</service-name>
<thread-count>5</thread-count>
<partition-count>257</partition-count>
<backup-count>1</backup-count>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme/>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>RiakCacheStore</class-name>
<init-params>
<init-param>
<param-type>String</param-type>
<param-value>127.0.0.1</param-value>
</init-param>
<init-param>
<param-type>int</param-type>
<param-value>10017</param-value>
</init-param>
<init-param>
<param-type>String</param-type>
<param-value>TestBucket</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
<!-- write-delay>1s</write-delay -->
</read-write-backing-map-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment