#include <cObjectBuffer.h>
Collaboration diagram for ObjectBuffer:
Public Member Functions | |
ObjectBuffer () | |
~ObjectBuffer () | |
bool | Init (const enum LockingStrategy aLockingStrategy, const enum UpdatingStrategy anUpdateStrategy, const enum WaitingStrategy aWaitingStrategy) |
Object * | IsInMemory (const RefBase &DbPtr) |
bool | RegisterObject (const class RefBase &DbPtr, const class Object *const MemPtr) |
bool | RemoveObject (class Object *MemPtr, const class Connection *const DbCon) |
bool | RemoveObject (const class RefBase &DbPtr) |
bool | UpdateAll () |
bool | UpdateAll (const Connection *const DbC) |
bool | UpdateAll (const Database *const DB) |
bool | RemoveAll () |
bool | RemoveAll (const Connection *const DbC) |
bool | RemoveAll (const Database *const DB) |
virtual enum UpdatingStrategy | CurrentUpdatingStrategy () const |
virtual bool | SetUpdatingStrategy (enum UpdatingStrategy anUpdateStrategy) |
virtual enum WaitingStrategy | CurrentWaitingStrategy () const |
virtual bool | SetWaitingStrategy (enum WaitingStrategy aWaitingStrategy) |
virtual enum LockingStrategy | CurrentLockingStrategy () const |
virtual bool | SetLockingStrategy (enum LockingStrategy aLockingStrategy) |
virtual enum ReadingStrategy | CurrentReadingStrategy () const |
virtual bool | SetReadingStrategy (enum ReadingStrategy aReadingStrategy) |
bool | RemoveAllMemoryLocks () |
bool | RemoveAllMemoryLocks (class Database &DB) |
bool | RemoveAllMemoryLocks (class Connection &DbConn) |
Object * | GetReferencedObject (const RefBase &DbPtr) |
Protected Member Functions | |
unsigned long | _GarbageCollector () |
unsigned int | _Hash (const char *values) const |
unsigned int | _Hash (const OidType oid) const |
BufferItem * | _FindItem (const RefBase &DbPtr) |
bool | _RemoveConnection (int ConHandle) |
bool | RemoveConnection (int ConHandle) |
bool | UpdateConnection (int ConHandle) |
bool | _RemoveAll () |
bool | _RemoveAll (const Connection *const DbC) |
bool | _RemoveAll (const Database *const DB) |
Protected Attributes | |
bool | _Initialised |
bool | _ResetForUpdateFlags |
unsigned long int | _Requests |
unsigned long int | _Hits |
unsigned short | _Strategies |
BufferItem * | _LastAccessedItem |
BufferItem * | _Structure [MAX_CONNECTION][HASH_TABLE_SIZE] |
unsigned long | _ObjectsInBuffer |
Private Attributes | |
friend | POLITE_TEST_FRIEND |
|
|
|
|
|
!! |
|
|
|
|
|
|
|
!! |
|
!! |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|