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.
| 构造器和说明 |
|---|
SpringEmbeddedCacheManager(org.infinispan.manager.EmbeddedCacheManager nativeCacheManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
SpringCache |
getCache(String name) |
Collection<String> |
getCacheNames() |
org.infinispan.manager.EmbeddedCacheManager |
getNativeCacheManager()
Return the
that backs this
CacheManager. |
void |
stop()
Stop the
this
CacheManager delegates to. |
public SpringEmbeddedCacheManager(org.infinispan.manager.EmbeddedCacheManager nativeCacheManager)
nativeCacheManager - Underlying cache managerpublic SpringCache getCache(String name)
getCache 在接口中 org.springframework.cache.CacheManagerpublic Collection<String> getCacheNames()
getCacheNames 在接口中 org.springframework.cache.CacheManagerpublic org.infinispan.manager.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 © 2017 airlenet. All rights reserved.