CernVM-FS  2.9.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
 
ObjectInfo object_info
 
std::string tmp_path
 
std::string final_path
 
shash::Any id
 

Detailed Description

Definition at line 113 of file cache_posix.h.

Constructor & Destructor Documentation

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

Definition at line 114 of file cache_posix.h.

Member Data Documentation

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

Definition at line 125 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 132 of file cache_posix.h.

Referenced by PosixCacheManager::CommitTxn().

shash::Any PosixCacheManager::Transaction::id

Definition at line 133 of file cache_posix.h.

Referenced by PosixCacheManager::CommitTxn().

ObjectInfo PosixCacheManager::Transaction::object_info

Definition at line 130 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: