Package DE_EPAGES::DataCache::API::Config
This module contains all functions needed to configure the datacache.
@EXPORT_OK |
Functions
ConfigCacheSize
Reads the DataCache.conf and returns the cache size for given cache. Hint: Returns 999999 if the configured value is 'unlimited'. Returns undef if no cache size is configured.
Syntax |
$NumberOfElements = ConfigCacheSize($CacheKey, $CacheName); |
Example |
$NumberOfElements = ConfigCacheSize(GetCurrentConnection()->cacheKey, 'InfoHook'); |
Input |
|
Return |
|
DataCacheConfig
Returns the IniConfig object of the DataCache.conf file.
Syntax |
$IniConfig = DataCacheConfig(); |
Return |
|