All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xml.DataPersistence.xml Maven / Gradle / Ivy

<?xml version="1.0"?>
<!DOCTYPE cache PUBLIC
    "-//GemStone Systems, Inc.//GemFire Declarative Caching 6.5//EN"
    "http://www.gemstone.com/dtd/cache6_5.dtd">

<!--
  | DataPersistence.xml
  |
  | Configures a region to persist its data to disk.  
  | The data files are written to the directories specified
  | in the disk-dirs elements. 
 -->
<cache>
    <disk-store name="ds1" auto-compact="true" max-oplog-size="1024" queue-size="10000" time-interval="15">
	<disk-dirs>
		<disk-dir dir-size="4096">persistData1</disk-dir>
	</disk-dirs>
    </disk-store>

    <region name="exampleRegion">
	<region-attributes refid="REPLICATE_PERSISTENT" disk-store-name="ds1" disk-synchronous="false">
		<!-- Write buffer data to disk every 10Kb or 15 milliseconds,
                     whichever comes first -->
	</region-attributes>
    </region>
</cache>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy