Definition at line 295 of file persproductcache.h.
OSB_LIB::PersProductCache::Entry::Entry | ( | const PersProduct & | pp, | |
long | cacheTime | |||
) |
Constructor with pers. product and validity time.
OSB_LIB::PersProductCache::Entry::Entry | ( | const Entry & | ) | [private] |
Prevent copying: not implemented.
Prevent assignment: not implemented.
ReadGuard<PersProduct*> OSB_LIB::PersProductCache::Entry::readLock | ( | ) |
RwGuard OSB_LIB::PersProductCache::Entry::writeLock | ( | bool | wait | ) |
friend class PersProductCache [friend] |
Timestamp until is entry is valid.
If the entry is used after this time, the status of the entry is verified against the database and refreshed if needed.
Definition at line 331 of file persproductcache.h.
std::vector<Keys::iterator> OSB_LIB::PersProductCache::Entry::keys_ |
List of iterators to related entries in Resources.
Definition at line 333 of file persproductcache.h.
Personalised product.
It's object id is < 0 for entries where no assignment to a resource exists.
Definition at line 324 of file persproductcache.h.
Queue::iterator OSB_LIB::PersProductCache::Entry::queuePos_ |
Iterator to the related entry in the product queue.
Definition at line 335 of file persproductcache.h.
bool OSB_LIB::PersProductCache::Entry::useLocks_ [static, private] |