1
votes

Is there a way to set the default CacheStore in ApacheIgnite?

in Hazelcast, if you use the keyword default as the xml-configuration map name, that configuration becomes the default for all new maps

in this example https://apacheignite.readme.io/v1.7/docs/examples

it explicitly names the caches to apply the CacheStore configuration to

1

1 Answers

2
votes

If you are using Spring XML configuration, just declare a separate bean and reuse it in several caches (this will work for any type of beans, data sources for example). Also you can declare that bean as abstract and override some properties that are specific for some cache.