<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE cache PUBLIC | |
"-//GemStone Systems, Inc.//GemFire Declarative Caching 6.5//EN" | |
"http://www.gemstone.com/dtd/cache6_6.dtd"> | |
<cache> | |
<!-- Uncomment the following disk-store element to modify the default disk store directory --> | |
<!-- | |
<disk-store name="DEFAULT"> | |
<disk-dirs> | |
<disk-dir>/path/to/persistent/data</disk-dir> | |
</disk-dirs> | |
</disk-store> | |
--> | |
<!-- This is the definition of the default session region --> | |
<!-- | |
<region name="gemfire_modules_sessions"> | |
<region-attributes scope="distributed-ack" enable-gateway="false" data-policy="replicate" statistics-enabled="true"> | |
<entry-idle-time> | |
<expiration-attributes timeout="0" action="invalidate"> | |
<custom-expiry> | |
<class-name>com.gemstone.gemfire.modules.util.SessionCustomExpiry</class-name> | |
</custom-expiry> | |
</expiration-attributes> | |
</entry-idle-time> | |
</region-attributes> | |
</region> | |
--> | |
</cache> |