|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.config.cache.infinispan.AbstractInfinispanCompoundKeyCacheManager
public abstract class AbstractInfinispanCompoundKeyCacheManager
The base implementation to connect to Infinispan caches.
Constructor Summary | |
---|---|
AbstractInfinispanCompoundKeyCacheManager(CacheManagerProxy cacheManager) Default constructor. |
Method Summary | |
---|---|
void |
clear(String cacheName) Clears the cache with the given name. |
void |
clearAll() Removes all keys from all caches. |
void |
discard(String cacheName) Clears and stops the cache. |
Set<String> |
getCacheNames() Returns the set of cache names. |
de.smartics.properties.spi.config.cache.Cache |
getConfigurationsCache(String cacheName) Returns the configurations cache with the given name. |
de.smartics.properties.spi.config.cache.UnawareCache |
getPropertiesCache(String cacheName) Returns the properties cache with the given name. |
void |
stop(String cacheName) Stops the cache with the given name. |
void |
stopAll() Stops all caches, rendering the manager in a stopped state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractInfinispanCompoundKeyCacheManager(CacheManagerProxy cacheManager)
manager
- the Infinispan cache manager.
Method Detail |
---|
public final void clearAll()
clearAll
in interface
de.smartics.properties.spi.config.cache.CacheManager
public final void clear(String cacheName)
clear
in interface
de.smartics.properties.spi.config.cache.CacheManager
cacheName
- the name of the cache to be cleared.
public final void discard(String cacheName)
discard
in interface
de.smartics.properties.spi.config.cache.CacheManager
cacheName
- the name of the cache to be cleared and stopped.
public final void stopAll()
stopAll
in interface
de.smartics.properties.spi.config.cache.CacheManager
public final void stop(String cacheName)
stop
in interface
de.smartics.properties.spi.config.cache.CacheManager
cacheName
- the name of the cache to stop.
public final de.smartics.properties.spi.config.cache.UnawareCache getPropertiesCache(String cacheName)
getPropertiesCache
in interface
de.smartics.properties.spi.config.cache.CacheManager
cacheName
- the name of the cache to fetch.
public final de.smartics.properties.spi.config.cache.Cache getConfigurationsCache(String cacheName)
getConfigurationsCache
in interface
de.smartics.properties.spi.config.cache.CacheManager
cacheName
- the name of the cache to fetch.
public final Set<String> getCacheNames()
getCacheNames
in interface
de.smartics.properties.spi.config.cache.CacheManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |