![JAR search and dependency download from the Maven repository](/logo.png)
com.gemstone.gemfire.cache.doc-files.example2-cache.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gemfire-core Show documentation
Show all versions of gemfire-core Show documentation
SnappyData store based off Pivotal GemFireXD
<?xml version="1.0"?> <!DOCTYPE cache PUBLIC "-//GemStone Systems, Inc.//GemFire Declarative Cache 7.5//EN" "http://www.gemstone.com/dtd/cache7_5.dtd"> <cache is-server="true" search-timeout="60"> <cache-transaction-manager> <transaction-listener> <class-name>com.company.data.MyTransactionListener</class-name> <parameter name="URL"> <string>jdbc:cloudscape:rmi:MyData</string> </parameter> </transaction-listener> </cache-transaction-manager> <cache-server port="12345" max-connections="256"/> <region name="myRegion" refid="REPLICATE"> <region-attributes scope="global"> <entry-time-to-live> <expiration-attributes action="invalidate" timeout="60"/> </entry-time-to-live> <cache-loader> <class-name>com.company.data.DatabaseLoader</class-name> <parameter name="URL"> <string>jdbc:cloudscape:rmi:MyData</string> </parameter> </cache-loader> </region-attributes> </region> <region name="myOtherRegion" refid="REPLICATE"> <entry> <key><string>MyKey</string></key> <value><string>MyValue</string></value> </entry> <entry> <key><string>MyOtherKey</string></key> <value> <declarable> <class-name>com.company.data.MyDeclarable</class-name> </declarable> </value> </entry> </region> </cache>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy