12.2.2. File Cache Store Configuration (Remote Client-Server Mode)

The following is an example of a File Cache Store configuration for JBoss Data Grid's Remote Client-Server mode:
<local-cache name="default">
    <file-store passivation="true"
                purge="true"
                shared="false"
                relative-to="{PATH}"
                path="{DIRECTORY}" />
</local-cache>
  • The name parameter of the local-cache attribute is used to specify a name for the cache.
  • The file-store element specifies configuration information for the file cache store. Attributes for this element include the relative-to parameter used to define a named path, and the path parameter used to specify a directory within relative-to.