fwInstallation
8.4.1
|
Functions | |
string | _fwInstallationDbCache_getCacheKey (string functionKey, dyn_mixed parameters, string index="") |
int | fwInstallationDBCache_setCaches (string functionKey, dyn_mixed parameters, dyn_anytype values, dyn_string valuesIndexes) |
int | fwInstallationDBCache_setCache (string functionKey, dyn_mixed parameters, anytype value, string index="") |
int | fwInstallationDBCache_getCache (string functionKey, dyn_mixed parameters, anytype &returnValue, string index="") |
Variables | |
const string | csFwInstallationDBCacheLibVersion = "8.4.1" |
This library contains the implementation of cache functions to the fwInstallationDB interface.
version 0.6 adding an useCache flag, normally set to false, only true if initialized. eliminating the uptodate mechanism (clearing the db not so elegant but working) version 0.5 changing a mapping based cache, depending on function names and parameters version 0.3 Testing version version 0.2 modifying architecture: new "setCache" parameter, cache controlled from fwInstallationDB to avoid infinite loop cache set from outside. version 0.1 Initial porting of all functions with SELECT import
TODO: think about having a get/set tuple for each function instead of "loadCache"
string _fwInstallationDbCache_getCacheKey | ( | string | functionKey, |
dyn_mixed | parameters, | ||
string | index = "" |
||
) |
gets cache key based on function name, parameterValues, value, etc.
int fwInstallationDBCache_setCaches | ( | string | functionKey, |
dyn_mixed | parameters, | ||
dyn_anytype | values, | ||
dyn_string | valuesIndexes | ||
) |
Set a number of cache values.
alternative
int fwInstallationDBCache_setCache | ( | string | functionKey, |
dyn_mixed | parameters, | ||
anytype | value, | ||
string | index = "" |
||
) |
Set value in Cache for a given function, parameters, and index
int fwInstallationDBCache_getCache | ( | string | functionKey, |
dyn_mixed | parameters, | ||
anytype & | returnValue, | ||
string | index = "" |
||
) |
Get cached value for function, parameters, index to &value
const string csFwInstallationDBCacheLibVersion = "8.4.1" |
This script implements an interface to the gDbCache object for the installation tool