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

Public Member Functions

 Transaction (const shash::Any &id, const std::string &final_path)

Public Attributes

unsigned char buffer [4096]
unsigned buf_pos
uint64_t size
uint64_t expected_size
int fd
Label label
std::string tmp_path
std::string final_path
shash::Any id

Detailed Description

Definition at line 119 of file cache_posix.h.

Constructor & Destructor Documentation

PosixCacheManager::Transaction::Transaction ( const shash::Any id,
const std::string &  final_path 

Definition at line 120 of file cache_posix.h.

Member Data Documentation

unsigned PosixCacheManager::Transaction::buf_pos
unsigned char PosixCacheManager::Transaction::buffer[4096]

Definition at line 131 of file cache_posix.h.

Referenced by PosixCacheManager::Flush(), and PosixCacheManager::Write().

uint64_t PosixCacheManager::Transaction::expected_size
std::string PosixCacheManager::Transaction::final_path

Definition at line 138 of file cache_posix.h.

Referenced by PosixCacheManager::CommitTxn().

shash::Any PosixCacheManager::Transaction::id

Definition at line 139 of file cache_posix.h.

Referenced by PosixCacheManager::CommitTxn(), and PosixCacheManager::OpenFromTxn().

Label PosixCacheManager::Transaction::label

Definition at line 136 of file cache_posix.h.

Referenced by PosixCacheManager::CommitTxn(), and PosixCacheManager::CtrlTxn().

uint64_t PosixCacheManager::Transaction::size
std::string PosixCacheManager::Transaction::tmp_path

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