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. Caches
Caches
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
-
Method Summary
Modifier and TypeMethodDescriptionReturn the
that backs thisorg.infinispan.manager.EmbeddedCacheManager
CacheManager
.void
stop()
Stop the
thisEmbeddedCacheManager
CacheManager
delegates to.
-
Constructor Details
-
SpringEmbeddedCacheManager
- Parameters:
nativeCacheManager
- Underlying cache manager
-
-
Method Details
-
getCache
- Specified by:
getCache
in interfaceorg.springframework.cache.CacheManager
-
getCacheNames
- Specified by:
getCacheNames
in interfaceorg.springframework.cache.CacheManager
-
getNativeCacheManager
Return the
that backs thisorg.infinispan.manager.EmbeddedCacheManager
CacheManager
.- Returns:
- The
that backs thisorg.infinispan.manager.EmbeddedCacheManager
CacheManager
-
stop
public void stop()Stop the
thisEmbeddedCacheManager
CacheManager
delegates to.
-