Skip to content

Commit

Permalink
Gh-460: Improve cache documentation (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
cn337131 authored Mar 21, 2024
1 parent 6fea1cc commit c3c472c
Show file tree
Hide file tree
Showing 2 changed files with 974 additions and 961 deletions.
6 changes: 5 additions & 1 deletion docs/administration-guide/gaffer-stores/store-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ In order for the cache service to run you must select your desired implementatio
gaffer.cache.service.default.class=uk.gov.gchq.gaffer.cache.impl.HashMapCacheService
```

For the JCS and Hazelcast cache, you can specify a configuration file with properties for the cache implementation itself:
Both the JCS and Hazelcast caches require configuration files.
In the case of a JCS file this is a [ccf file](https://commons.apache.org/proper/commons-jcs/BasicJCSConfiguration.html)
while for Hazelcast this is commonly a [XML/YAML file](https://docs.hazelcast.com/imdg/4.2/configuration/understanding-configuration#static-configuration).

You should then specify the location of any configuration file(s) in your store.properties file as follows:
```
gaffer.cache.config.file=/path/to/file
```
Expand Down
Loading

0 comments on commit c3c472c

Please sign in to comment.