|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.cache.CacheFactory
Create caches (singleton)
| Field Summary | |
static String |
CFG_AUTO_DELAY_EXPIRATION_KEY
|
static String |
CFG_AVERAGE_ENTRY_SIZE_KEY
|
static String |
CFG_CACHE_CLASS_KEY
|
static String |
CFG_CACHE_TYPE_KEY
|
static String |
CFG_CAPACITY_KEY
|
static String |
CFG_CLEAR_CACHE_ON_INIT_KEY
|
static String |
CFG_DEFAULT_TIME_TO_LIVE_KEY
|
static String |
CFG_FILE_PREFIX_KEY
|
static String |
CFG_FOLDER_KEY
|
static String |
CFG_LONGKEYMEMORY_KEY
|
static String |
CFG_MAX_CACHE_SIZE_KEY
|
static String |
CFG_MAX_ENTRY_SIZE_KEY
|
static String |
CFG_MEMORY_KEY
|
static String |
CFG_PERSISTENT_KEY
|
static String |
CFG_SECURE_KEY
|
static String |
CFG_SINGLETON_KEY
|
static String |
CFG_STORAGE_CLASS_KEY
|
static String |
CFG_STRINGKEYMEMORY_KEY
|
| Method Summary | |
void |
finalize()
Release all cache factory resources. |
Hashtable |
getAllCaches()
|
ICache |
getCache(String cacheID)
|
ICache |
getCache(String cacheID,
boolean useDefault)
|
ICache |
getCache(String cacheID,
Properties properties)
|
ICache |
getCache(String configID,
String cacheID)
|
ICache |
getCache(String configID,
String cacheID,
boolean useDefault)
|
ICache |
getCacheRaw(String cacheId)
Gets the cache with the given id out of all caches. |
static CacheFactory |
getInstance()
|
static String |
getUniqueCacheID()
|
protected static void |
refreshCaches()
Tell the CacheFactory that the caches have to be refreshed |
static void |
resetFactory()
Only for testing purposes. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String CFG_CACHE_CLASS_KEY
public static final String CFG_CACHE_TYPE_KEY
public static final String CFG_CAPACITY_KEY
public static final String CFG_MAX_CACHE_SIZE_KEY
public static final String CFG_AVERAGE_ENTRY_SIZE_KEY
public static final String CFG_MAX_ENTRY_SIZE_KEY
public static final String CFG_STORAGE_CLASS_KEY
public static final String CFG_FOLDER_KEY
public static final String CFG_FILE_PREFIX_KEY
public static final String CFG_SECURE_KEY
public static final String CFG_CLEAR_CACHE_ON_INIT_KEY
public static final String CFG_PERSISTENT_KEY
public static final String CFG_MEMORY_KEY
public static final String CFG_LONGKEYMEMORY_KEY
public static final String CFG_STRINGKEYMEMORY_KEY
public static final String CFG_DEFAULT_TIME_TO_LIVE_KEY
public static final String CFG_AUTO_DELAY_EXPIRATION_KEY
public static final String CFG_SINGLETON_KEY
| Method Detail |
public static CacheFactory getInstance()
throws CacheException
CacheException - Exception raised in failure situationpublic static String getUniqueCacheID()
public ICache getCache(String cacheID)
throws CacheException
cacheID - TBD: Description of the incoming method parameter
CacheException - Exception raised in failure situation
public ICache getCache(String configID,
String cacheID)
throws CacheException
configID - TBD: Description of the incoming method parametercacheID - TBD: Description of the incoming method parameter
CacheException - Exception raised in failure situation
public ICache getCache(String cacheID,
boolean useDefault)
throws CacheException
cacheID - TBD: Description of the incoming method parameter
CacheException - Exception raised in failure situation
public ICache getCache(String configID,
String cacheID,
boolean useDefault)
throws CacheException
configID - TBD: Description of the incoming method parametercacheID - TBD: Description of the incoming method parameter
CacheException - Exception raised in failure situation
public ICache getCache(String cacheID,
Properties properties)
throws CacheException
cacheID - TBD: Description of the incoming method parameterproperties - TBD: Description of the incoming method parameter
CacheException - Exception raised in failure situationpublic Hashtable getAllCaches()
public ICache getCacheRaw(String cacheId)
public void finalize()
public static void resetFactory()
protected static void refreshCaches()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||