CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExternalCacheManager::Transaction Struct Reference
Collaboration diagram for ExternalCacheManager::Transaction:

Public Member Functions

 Transaction (const shash::Any &id)
 

Public Attributes

unsigned char * buffer
 
unsigned buf_pos
 
uint64_t size
 
uint64_t expected_size
 
ObjectInfo object_info
 
int open_fds
 
bool flushed
 
bool committed
 
bool object_info_modified
 
uint64_t transaction_id
 
shash::Any id
 

Detailed Description

Definition at line 124 of file cache_extern.h.

Constructor & Destructor Documentation

ExternalCacheManager::Transaction::Transaction ( const shash::Any id)
inlineexplicit

Definition at line 125 of file cache_extern.h.

Member Data Documentation

unsigned ExternalCacheManager::Transaction::buf_pos
unsigned char* ExternalCacheManager::Transaction::buffer

Allocated size is max_object_size_, allocated by the caller at the end of the transaction (Linux only).

Definition at line 143 of file cache_extern.h.

Referenced by ExternalCacheManager::CommitTxn(), ExternalCacheManager::Flush(), ExternalCacheManager::StartTxn(), and ExternalCacheManager::Write().

bool ExternalCacheManager::Transaction::committed
uint64_t ExternalCacheManager::Transaction::expected_size
bool ExternalCacheManager::Transaction::flushed

Definition at line 149 of file cache_extern.h.

Referenced by ExternalCacheManager::Flush(), and ExternalCacheManager::Reset().

ObjectInfo ExternalCacheManager::Transaction::object_info

Definition at line 147 of file cache_extern.h.

Referenced by ExternalCacheManager::CtrlTxn(), and ExternalCacheManager::Flush().

bool ExternalCacheManager::Transaction::object_info_modified
int ExternalCacheManager::Transaction::open_fds
uint64_t ExternalCacheManager::Transaction::size
uint64_t ExternalCacheManager::Transaction::transaction_id

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