public interface CacheMgrIf
Modifier and Type | Method and Description |
---|---|
void |
dumpCacheStatus(java.lang.String cacheName)
Dump details of the named cache
|
void |
flush(java.lang.String cacheName)
Flush/Clear the specified cache.
|
void |
flushProduct(int productId)
Flush a single product from the caches
|
java.lang.Object |
get(java.lang.String cacheName,
java.lang.String key)
Get an object from the specified cache with the specified key
|
int |
getCacheType()
Get the Cache Type being used
|
boolean |
isCacheMgrStarted()
Is CacheMgr started up?
|
boolean |
isCachingEnabled()
Is global caching enabled
|
void |
processEvents()
Reads and executes the KKEvents
|
void |
put(java.lang.String cacheName,
java.lang.String key,
java.lang.Object value)
Put an object into the specified cache with the specified key
|
void |
refreshConfigs()
Refresh the manager's configuration
|
void |
remove(java.lang.String cacheName,
java.lang.String key)
Remove the object from the specified cache with the specified key
|
void |
shutdown()
Shutdown the Caches
|
void |
startup()
Start up the Caches
|
boolean |
useEhcache()
Use Ehcache?
|
void startup()
void shutdown()
java.lang.Object get(java.lang.String cacheName, java.lang.String key)
cacheName
- name of the cachekey
- key of the object to getvoid remove(java.lang.String cacheName, java.lang.String key)
cacheName
- name of the cachekey
- key of the object to removevoid put(java.lang.String cacheName, java.lang.String key, java.lang.Object value)
cacheName
- name of the cachekey
- key of the object to putvalue
- value to putvoid flushProduct(int productId)
productId
- the productIdvoid flush(java.lang.String cacheName)
cacheName
- the cacheNameboolean useEhcache()
int getCacheType()
void refreshConfigs() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionvoid processEvents() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionvoid dumpCacheStatus(java.lang.String cacheName)
cacheName
- the cacheNameboolean isCachingEnabled()
boolean isCacheMgrStarted()
Copyright © 2018 DS Data Systems UK Ltd.