ATLAS Offline Software
|
#include <CollectionPool.h>
Classes | |
class | flushing_iterator |
iterator that flushes and closes all collections More... | |
Public Member Functions | |
CollectionPool (unsigned maxOpen=50, unsigned cacheSize=100) | |
virtual | ~CollectionPool () |
virtual void | addCollection (const std::string &guid, ICollection *coll) |
add GUID -> collection mapping More... | |
virtual ICollection * | get (const std::string &guid) |
get back which collection corresponds to a GUID More... | |
virtual void | insertRow (const std::string &guid, const pool::CollectionRowBuffer &row) |
insert row to a connection designated for a given GUID More... | |
virtual pool::CollectionRowBuffer & | getRowBuffer (const std::string &) |
virtual const std::string & | getDstRefName () |
Protected Member Functions | |
void | queueOpenColl (pool::ICollection *coll) |
void | reduceQueue () |
void | writeCache (pool::ICollection *coll) |
Protected Attributes | |
unsigned | m_maxOpen |
unsigned | m_rowCacheSize |
std::queue< pool::ICollection * > | m_queue |
std::map< std::string, pool::ICollection * > | m_map |
std::map< pool::ICollection *, rowVect_t > | m_rowCache |
pool::CollectionRowBuffer | m_rowBuffer |
std::string | m_dstRefName |
Private Types | |
typedef std::vector< pool::CollectionRowBuffer > | rowVect_t |
Definition at line 29 of file CollectionPool.h.
|
private |
Definition at line 31 of file CollectionPool.h.
pool::CollectionPool::CollectionPool | ( | unsigned | maxOpen = 50 , |
unsigned | cacheSize = 100 |
||
) |
|
virtual |
|
virtual |
add GUID -> collection mapping
|
virtual |
get back which collection corresponds to a GUID
|
virtual |
|
virtual |
|
virtual |
insert row to a connection designated for a given GUID
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 88 of file CollectionPool.h.
|
protected |
Definition at line 85 of file CollectionPool.h.
|
protected |
Definition at line 82 of file CollectionPool.h.
|
protected |
Definition at line 84 of file CollectionPool.h.
|
protected |
Definition at line 87 of file CollectionPool.h.
|
protected |
Definition at line 86 of file CollectionPool.h.
|
protected |
Definition at line 83 of file CollectionPool.h.