Chapter 17. Cache Stores
sharedis set to
false), on node join, stale entries which might have been removed from the cluster might still be present in the stores and can reappear.
17.1. Cache Loaders and Cache Writers
CacheWriterprovide basic methods for reading and writing to a store.
CacheLoaderretrieves data from a data store when the required data is not present in the cache, and
CacheWriteris used to enforce entry passivation and activation on eviction in a cache.
AdvancedCacheWriterprovide operations to manipulate the underlying storage in bulk: parallel iteration and purging of expired entries, clear and size.
org.infinispan.persistence.file.SingleFileStoreis a good starting point to write your own store implementation.
CacheLoader, extended by
CacheStore), which is also still available.