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.
| 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 - Underlying cache managerpublic SpringCache getCache(String name)
getCache in interface org.springframework.cache.CacheManagerpublic Collection<String> getCacheNames()
getCacheNames in interface org.springframework.cache.CacheManagerpublic EmbeddedCacheManager getNativeCacheManager()
org.infinispan.manager.EmbeddedCacheManager that backs this
CacheManager.org.infinispan.manager.EmbeddedCacheManager that backs this
CacheManagerpublic void stop()
EmbeddedCacheManager this
CacheManager delegates to.Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.