#include <tcachestore.h>
|
virtual | ~TCacheStore () |
|
virtual QString | key () const =0 |
|
virtual DbType | dbType () const =0 |
|
virtual void | init () |
|
virtual void | cleanup () |
|
virtual bool | open ()=0 |
|
virtual void | close ()=0 |
|
virtual QByteArray | get (const QByteArray &key)=0 |
|
virtual bool | set (const QByteArray &key, const QByteArray &value, int seconds)=0 |
|
virtual bool | remove (const QByteArray &key)=0 |
|
virtual void | clear ()=0 |
|
virtual void | gc ()=0 |
|
virtual QMap< QString, QVariant > | defaultSettings () const |
|
The TCacheStore class provides a listing of cache store interfaces.
◆ DbType
Enumerator |
---|
SQL | |
KVS | |
Invalid | |
◆ ~TCacheStore()
virtual TCacheStore::~TCacheStore |
( |
| ) |
|
|
inlinevirtual |
◆ cleanup()
virtual void TCacheStore::cleanup |
( |
| ) |
|
|
inlinevirtual |
◆ clear()
virtual void TCacheStore::clear |
( |
| ) |
|
|
pure virtual |
◆ close()
virtual void TCacheStore::close |
( |
| ) |
|
|
pure virtual |
◆ dbType()
virtual DbType TCacheStore::dbType |
( |
| ) |
const |
|
pure virtual |
◆ defaultSettings()
virtual QMap<QString, QVariant> TCacheStore::defaultSettings |
( |
| ) |
const |
|
inlinevirtual |
◆ gc()
virtual void TCacheStore::gc |
( |
| ) |
|
|
pure virtual |
◆ get()
virtual QByteArray TCacheStore::get |
( |
const QByteArray & |
key | ) |
|
|
pure virtual |
◆ init()
virtual void TCacheStore::init |
( |
| ) |
|
|
inlinevirtual |
◆ key()
virtual QString TCacheStore::key |
( |
| ) |
const |
|
pure virtual |
◆ open()
virtual bool TCacheStore::open |
( |
| ) |
|
|
pure virtual |
◆ remove()
virtual bool TCacheStore::remove |
( |
const QByteArray & |
key | ) |
|
|
pure virtual |
◆ set()
virtual bool TCacheStore::set |
( |
const QByteArray & |
key, |
|
|
const QByteArray & |
value, |
|
|
int |
seconds |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: