#include <QxCache.h>
Definition at line 57 of file QxCache.h.
◆ type_qx_cache
◆ type_qx_lst_cache
◆ QxCache()
qx::cache::detail::QxCache::QxCache |
( |
| ) |
|
◆ ~QxCache()
virtual qx::cache::detail::QxCache::~QxCache |
( |
| ) |
|
|
virtual |
◆ at()
qx::any qx::cache::detail::QxCache::at |
( |
const QString & | sKey | ) |
|
◆ clear()
void qx::cache::detail::QxCache::clear |
( |
| ) |
|
◆ contains()
bool qx::cache::detail::QxCache::contains |
( |
const QString & | sKey | ) |
const |
◆ count()
long qx::cache::detail::QxCache::count |
( |
| ) |
const |
◆ exist()
bool qx::cache::detail::QxCache::exist |
( |
const QString & | sKey | ) |
const |
◆ getCurrCost()
long qx::cache::detail::QxCache::getCurrCost |
( |
| ) |
const |
◆ getMaxCost()
long qx::cache::detail::QxCache::getMaxCost |
( |
| ) |
const |
◆ insert()
bool qx::cache::detail::QxCache::insert |
( |
const QString & | sKey, |
|
|
const qx::any & | anyObj, |
|
|
long | lCost = 1, |
|
|
const QDateTime & | dt = QDateTime() ) |
◆ insertionCost()
long qx::cache::detail::QxCache::insertionCost |
( |
const QString & | sKey | ) |
|
◆ insertionDateTime()
QDateTime qx::cache::detail::QxCache::insertionDateTime |
( |
const QString & | sKey | ) |
|
◆ isEmpty()
bool qx::cache::detail::QxCache::isEmpty |
( |
| ) |
const |
◆ remove()
bool qx::cache::detail::QxCache::remove |
( |
const QString & | sKey | ) |
|
◆ setMaxCost()
void qx::cache::detail::QxCache::setMaxCost |
( |
long | l | ) |
|
◆ size()
long qx::cache::detail::QxCache::size |
( |
| ) |
const |
◆ updateCost()
void qx::cache::detail::QxCache::updateCost |
( |
| ) |
|
|
private |
◆ qx::QxSingleton< QxCache >
◆ m_cache
◆ m_lCurrCost
long qx::cache::detail::QxCache::m_lCurrCost |
|
protected |
Current cost in cache.
Definition at line 70 of file QxCache.h.
◆ m_lMaxCost
long qx::cache::detail::QxCache::m_lMaxCost |
|
protected |
Max cost before deleting object in cache.
Definition at line 69 of file QxCache.h.
◆ m_oMutexCache
QMutex qx::cache::detail::QxCache::m_oMutexCache |
|
protected |
The documentation for this class was generated from the following file:
- C:/M/B/src/QxOrm-1.4.9/include/QxCommon/QxCache.h