-
Bug
-
Resolution: Done
-
Major
-
None
-
Low
In
doc: https://docs.jboss.org/author/display/ISPN/Configuring+cache+programmatically
section: "Configuring Infinispan with one or several chained persistent stores is simple too:"
I think enable() is missing after async() in the following code (with infinispan-5.1.1):
actual doc:
Configuration config = new ConfigurationBuilder() .loaders() .shared(false).passivation(false).preload(false) .addFileCacheStore().location("/tmp").streamBufferSize(1800).async().threadPoolSize(20).build();
corrected doc:
Configuration config = new ConfigurationBuilder() .loaders() .shared(false).passivation(false).preload(false) .addFileCacheStore().location("/tmp").streamBufferSize(1800).async().enable().threadPoolSize(20).build();
I added a comment on the page you can remove (I spent so much time to understand why it didn't works that I've filled a ticket to ask for toString() methods in configuration objects: ISPN-1861)