DbInfoStruct Struct Reference

Holds Prepared statements for better performance. More...

Collaboration diagram for DbInfoStruct:

Collaboration graph
[legend]

Data Fields

QueueProperties prop
size_t numOfEntries
 Meta information.
int64_t numOfBytes
 Cache for current number of entries.
sqlite * db
 Cache for current number of bytes.
sqlite_vm * pVm_put
 Database handle for SQLite.
sqlite_vm * pVm_peekWithSamePriority
 SQLite virtual machine to hold a prepared query.
sqlite_vm * pVm_fillCache

Detailed Description

Holds Prepared statements for better performance.

See also:
http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html

Definition at line 108 of file SQLiteQueue.c.


Field Documentation

QueueProperties DbInfoStruct::prop

Definition at line 109 of file SQLiteQueue.c.

Referenced by fillCache(), getMaxNumOfBytes(), getMaxNumOfEntries(), getProperties(), persistentQueueClear(), persistentQueueDestroy(), persistentQueueInitialize(), persistentQueuePeekWithSamePriority(), persistentQueuePut(), and persistentQueueRandomRemove().

size_t DbInfoStruct::numOfEntries

Meta information.

Definition at line 110 of file SQLiteQueue.c.

Referenced by createQueue(), fillCache(), getNumOfEntries(), parseCacheInfo(), persistentQueueClear(), persistentQueuePut(), and persistentQueueRandomRemove().

int64_t DbInfoStruct::numOfBytes

Cache for current number of entries.

Definition at line 111 of file SQLiteQueue.c.

Referenced by createQueue(), fillCache(), getNumOfBytes(), parseCacheInfo(), persistentQueueClear(), persistentQueuePut(), and persistentQueueRandomRemove().

sqlite* DbInfoStruct::db

Cache for current number of bytes.

Definition at line 112 of file SQLiteQueue.c.

Referenced by compilePreparedQuery(), execSilent(), persistentQueueInitialize(), persistentQueueRandomRemove(), and shutdownInternal().

sqlite_vm* DbInfoStruct::pVm_put

Database handle for SQLite.

Definition at line 113 of file SQLiteQueue.c.

Referenced by persistentQueuePut(), and shutdownInternal().

sqlite_vm* DbInfoStruct::pVm_peekWithSamePriority

SQLite virtual machine to hold a prepared query.

Definition at line 114 of file SQLiteQueue.c.

Referenced by persistentQueuePeekWithSamePriority(), and shutdownInternal().

sqlite_vm* DbInfoStruct::pVm_fillCache

Definition at line 115 of file SQLiteQueue.c.

Referenced by fillCache(), and shutdownInternal().


The documentation for this struct was generated from the following file: