Configuring an Infinispan cache
As you will see in the upcoming chapters, Infinispan is designed to operate in many different environments in a number of ways and provide a broad range of configuration parameters such as Cache Modes, Transactions, Listeners, Expiration, and many others. Fortunately, most have sensible default values, and so you can even run your applications using zero configuration, as we did in the previous section Anatomy of an Infinispan clustered cache.
Cache instances can be retrieved using an appropriate CacheManager, which represents a collection of caches. Thus, if you want to create a better and improved cache for Infinispan, you have to understand how this configuration works. There are two approaches you can use to ...
Get Infinispan Data Grid Platform Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.