Definition at line 69 of file resourcecache.h.
| OSB_LIB::ResourceCache::ResourceCache | ( | bool | useLocks | ) | [explicit] |
Constructor.
| useLocks | Flag if the cache should use locks, i.e., if the application is multi-threaded or not. |
| virtual OSB_LIB::ResourceCache::~ResourceCache | ( | ) | [virtual] |
Empty virtual destructor.
| OSB_LIB::ResourceCache::ResourceCache | ( | const ResourceCache & | ) | [private] |
Not implemented until needed.
| virtual void OSB_LIB::ResourceCache::finalize | ( | bool | doLog | ) | [pure virtual] |
Clean-up the resource cache.
| doLog | Flag to print log messages if applicable. |
| virtual bool OSB_LIB::ResourceCache::getDetails | ( | const OSB_DB::Session & | session, | |
| const DateTime & | ts, | |||
| RatedParty * | rp, | |||
| OsbError * | error | |||
| ) | [pure virtual] |
Determine the details of the rated party.
| session | Database session to use. | |
| ts | Applicable timestamp (usually from the CDR). | |
| rp | Rated party to populate: its ResourceKey should be set when calling the function. | |
| error | Gets the error if the function returns false. |
| virtual bool OSB_LIB::ResourceCache::initialize | ( | const OSB_DB::Session & | session, | |
| const ModuleConfig & | config | |||
| ) | [pure virtual] |
Initialize the resource cache.
| session | Database session to use. | |
| config | Module configuration to use. |
| static OsbError OSB_LIB::ResourceCache::noResourceType | ( | ) | [static, protected] |
Unknown resource type.
| static OsbError OSB_LIB::ResourceCache::notSupported | ( | ResourceType | type | ) | [static, protected] |
Resource type is not supported.
| ResourceCache& OSB_LIB::ResourceCache::operator= | ( | const ResourceCache & | ) | [private] |
Not implemented until needed.
1.4.7