Class SpringEmbeddedCacheManager
java.lang.Object
org.infinispan.spring.embedded.provider.SpringEmbeddedCacheManager
- All Implemented Interfaces:
org.springframework.cache.CacheManager
public class SpringEmbeddedCacheManager
extends Object
implements org.springframework.cache.CacheManager
A implementation that is
backed by an CacheManager instance.
Infinispan EmbeddedCacheManager
Note that this CacheManager does support adding new
at runtime, i.e. CachesCaches added
programmatically to the backing EmbeddedCacheManager after this
CacheManager has been constructed will be seen by this CacheManager.
- Author:
- Olaf Bergner, Marius Bogoevici
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn thethat backs thisorg.infinispan.manager.EmbeddedCacheManagerCacheManager.voidstop()Stop thethisEmbeddedCacheManagerCacheManagerdelegates to.
-
Constructor Details
-
SpringEmbeddedCacheManager
- Parameters:
nativeCacheManager- Underlying cache manager
-
-
Method Details
-
getCache
- Specified by:
getCachein interfaceorg.springframework.cache.CacheManager
-
getCacheNames
- Specified by:
getCacheNamesin interfaceorg.springframework.cache.CacheManager
-
getNativeCacheManager
Return thethat backs thisorg.infinispan.manager.EmbeddedCacheManagerCacheManager.- Returns:
- The
that backs thisorg.infinispan.manager.EmbeddedCacheManagerCacheManager
-
stop
public void stop()Stop thethisEmbeddedCacheManagerCacheManagerdelegates to.
-