src/app/netcache/nc_storage_blob.hpp File Reference

#include <corelib/ncbitime.hpp>
#include <corelib/ncbimtx.hpp>
#include <corelib/obj_pool.hpp>
#include "nc_db_info.hpp"

Include dependency graph for nc_storage_blob.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CNCBlob
 Object for reading or writing to NetCache blob. More...
class  CNCBlobLockHolder
 Object holding lock of NetCache blob. More...

Typedefs

typedef CObjFactory_NewParam<
CNCBlob, CNCBlobStorage * > 
TNCBlobsFactory
 Pool of CNCBlob objects.
typedef CObjPool< CNCBlob,
TNCBlobsFactory
TNCBlobsPool
typedef CObjFactory_NewParam<
CNCBlobLockHolder, CNCBlobStorage * > 
TNCBlobLockFactory
 Pool of CNCBlobLockHolder objects.
typedef CObjPool< CNCBlobLockHolder,
TNCBlobLockFactory
TNCBlobLockObjPool
typedef CRef< CNCBlobLockHolderTNCBlobLockHolderRef
 Type that should be always used to store pointers to CNCBlobLockHolder.

Enumerations

enum  ENCBlobAccess { eRead, eWrite, eCreate }
 Type of access to NetCache blob. More...


Typedef Documentation

typedef CObjFactory_NewParam<CNCBlobLockHolder, CNCBlobStorage*> TNCBlobLockFactory
 

Pool of CNCBlobLockHolder objects.

Definition at line 357 of file nc_storage_blob.hpp.

typedef CRef<CNCBlobLockHolder> TNCBlobLockHolderRef
 

Type that should be always used to store pointers to CNCBlobLockHolder.

Definition at line 360 of file nc_storage_blob.hpp.

typedef CObjPool<CNCBlobLockHolder, TNCBlobLockFactory> TNCBlobLockObjPool
 

Definition at line 358 of file nc_storage_blob.hpp.

typedef CObjFactory_NewParam<CNCBlob, CNCBlobStorage*> TNCBlobsFactory
 

Pool of CNCBlob objects.

Definition at line 136 of file nc_storage_blob.hpp.

typedef CObjPool<CNCBlob, TNCBlobsFactory> TNCBlobsPool
 

Definition at line 137 of file nc_storage_blob.hpp.


Enumeration Type Documentation

enum ENCBlobAccess
 

Type of access to NetCache blob.

Enumerator:
eRead  Read-only access.
eWrite  Write-only access to existing blob.
eCreate  Write-only access with creation of blob if it doesn't exist.

Definition at line 141 of file nc_storage_blob.hpp.


Generated on Mon Dec 7 07:23:37 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:42 2009 by modify_doxy.py rev. 173732