Interface ICompositeCacheManager
- All Superinterfaces:
IShutdownObservable
- All Known Implementing Classes:
CompositeCacheManager
I need the interface so I can plug in mock managers for testing.
-
Method Summary
Modifier and TypeMethodDescription<K,
V> AuxiliaryCache<K, V> getAuxiliaryCache
(String auxName, String cacheName) Gets the auxiliary cache attribute of the CacheHub object<K,
V> CompositeCache<K, V> Gets the cache attribute of the CacheHub objectThis is exposed so other manager can get access to the props.getStats()
Gets stats for debugging.Methods inherited from interface org.apache.commons.jcs3.engine.behavior.IShutdownObservable
deregisterShutdownObserver, registerShutdownObserver
-
Method Details
-
getCache
Gets the cache attribute of the CacheHub object- Parameters:
cacheName
-- Returns:
- CompositeCache
-
getAuxiliaryCache
Gets the auxiliary cache attribute of the CacheHub object- Parameters:
auxName
-cacheName
-- Returns:
- AuxiliaryCache
-
getConfigurationProperties
This is exposed so other manager can get access to the props.- Returns:
- the configurationProperties
-
getStats
Gets stats for debugging.- Returns:
- String
-