public class SpringRemoteCacheManager extends Object implements org.springframework.cache.CacheManager
A
implementation that is
backed by an CacheManager
instance.
Infinispan RemoteCacheManager
Constructor and Description |
---|
SpringRemoteCacheManager(org.infinispan.client.hotrod.RemoteCacheManager nativeCacheManager) |
Modifier and Type | Method and Description |
---|---|
org.infinispan.spring.provider.SpringCache |
getCache(String name) |
Collection<String> |
getCacheNames() |
org.infinispan.client.hotrod.RemoteCacheManager |
getNativeCacheManager()
Return the
that backs this
SpringRemoteCacheManager . |
void |
start()
Start the
that backs this
SpringRemoteCacheManager . |
void |
stop()
Stop the
that backs this
SpringRemoteCacheManager . |
public SpringRemoteCacheManager(org.infinispan.client.hotrod.RemoteCacheManager nativeCacheManager)
nativeCacheManager
- the underlying cache managerpublic org.infinispan.spring.provider.SpringCache getCache(String name)
getCache
in interface org.springframework.cache.CacheManager
CacheManager.getCache(java.lang.String)
public Collection<String> getCacheNames()
getCacheNames
in interface org.springframework.cache.CacheManager
CacheManager.getCacheNames()
public org.infinispan.client.hotrod.RemoteCacheManager getNativeCacheManager()
org.infinispan.client.hotrod.RemoteCacheManager
that backs this
SpringRemoteCacheManager
.org.infinispan.client.hotrod.RemoteCacheManager
that backs this
SpringRemoteCacheManager
public void start()
org.infinispan.client.hotrod.RemoteCacheManager
that backs this
SpringRemoteCacheManager
.public void stop()
org.infinispan.client.hotrod.RemoteCacheManager
that backs this
SpringRemoteCacheManager
.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.