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
.
Constructor and Description |
---|
SpringEmbeddedCacheManager(EmbeddedCacheManager nativeCacheManager) |
Modifier and Type | Method and Description |
---|---|
SpringCache |
getCache(String name) |
Collection<String> |
getCacheNames() |
EmbeddedCacheManager |
getNativeCacheManager()
Return the
that backs this
CacheManager . |
void |
stop()
Stop the
this
CacheManager delegates to. |
public SpringEmbeddedCacheManager(EmbeddedCacheManager nativeCacheManager)
nativeCacheManager
- public SpringCache getCache(String name)
getCache
in interface org.springframework.cache.CacheManager
public Collection<String> getCacheNames()
getCacheNames
in interface org.springframework.cache.CacheManager
public EmbeddedCacheManager getNativeCacheManager()
org.infinispan.manager.EmbeddedCacheManager
that backs this
CacheManager
.org.infinispan.manager.EmbeddedCacheManager
that backs this
CacheManager
public void stop()
EmbeddedCacheManager
this
CacheManager
delegates to.Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.