Class SpringRemoteCacheManager
java.lang.Object
org.infinispan.spring.remote.provider.SpringRemoteCacheManager
- All Implemented Interfaces:
org.springframework.cache.CacheManager
public class SpringRemoteCacheManager
extends Object
implements org.springframework.cache.CacheManager
A implementation that is
backed by an CacheManager instance.
Infinispan RemoteCacheManager
- Author:
- Olaf Bergner, Marius Bogoevici
-
Constructor Summary
ConstructorsConstructorDescriptionSpringRemoteCacheManager(RemoteCacheManager nativeCacheManager) SpringRemoteCacheManager(RemoteCacheManager nativeCacheManager, long readTimeout, long writeTimeout) -
Method Summary
Modifier and TypeMethodDescriptionReturn thethat backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager.longlongvoidsetReadTimeout(long readTimeout) voidsetWriteTimeout(long writeTimeout) voidstart()Start thethat backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager.voidstop()Stop thethat backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager.
-
Constructor Details
-
SpringRemoteCacheManager
public SpringRemoteCacheManager(RemoteCacheManager nativeCacheManager, long readTimeout, long writeTimeout) - Parameters:
nativeCacheManager- the underlying cache manager
-
SpringRemoteCacheManager
-
-
Method Details
-
getCache
- Specified by:
getCachein interfaceorg.springframework.cache.CacheManager- See Also:
-
CacheManager.getCache(String)
-
getCacheNames
- Specified by:
getCacheNamesin interfaceorg.springframework.cache.CacheManager- See Also:
-
CacheManager.getCacheNames()
-
getNativeCacheManager
Return thethat backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager.- Returns:
- The
that backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager
-
getReadTimeout
public long getReadTimeout() -
getWriteTimeout
public long getWriteTimeout() -
setReadTimeout
public void setReadTimeout(long readTimeout) -
setWriteTimeout
public void setWriteTimeout(long writeTimeout) -
start
public void start()Start thethat backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager. -
stop
public void stop()Stop thethat backs thisorg.infinispan.client.hotrod.RemoteCacheManagerSpringRemoteCacheManager.
-