CernVM-FS
2.12.0
|
#include <item.h>
Static Public Member Functions | |
static FileItem * | CreateQuitBeacon () |
Private Attributes | |
UniquePtr< IngestionSource > | source_ |
const zlib::Algorithms | compression_algorithm_ |
const shash::Algorithms | hash_algorithm_ |
const shash::Suffix | hash_suffix_ |
const bool | has_legacy_bulk_chunk_ |
uint64_t | size_ |
bool | may_have_chunks_ |
Xor32Detector | chunk_detector_ |
shash::Any | bulk_hash_ |
FileChunkList | chunks_ |
atomic_int64 | nchunks_in_fly_ |
atomic_int32 | is_fully_chunked_ |
pthread_mutex_t | lock_ |
Static Private Attributes | |
static const uint64_t | kSizeUnknown = uint64_t(-1) |
static const char | kQuitBeaconMarker = '\0' |
Additional Inherited Members | |
Private Member Functions inherited from SingleCopy | |
SingleCopy () | |
Carries the information necessary to compress and checksum a file. During processing, the bulk chunk and the chunks_ vector are filled.
|
explicit |
This file is part of the CernVM File System.
Definition at line 17 of file item.cc.
Referenced by CreateQuitBeacon().
|
inline |
Definition at line 60 of file item.h.
Referenced by TaskRegister::Process().
|
inline |
Definition at line 59 of file item.h.
Referenced by TaskChunk::Process(), and TaskRead::Process().
|
inline |
Definition at line 80 of file item.h.
Referenced by TaskRead::Process().
|
inline |
Definition at line 61 of file item.h.
Referenced by ChunkItem::GetCompressor(), and TaskRegister::Process().
|
inlinestatic |
|
inline |
Definition at line 74 of file item.h.
Referenced by TaskRegister::Process().
|
inline |
Definition at line 73 of file item.h.
Referenced by TaskRegister::Process().
|
inline |
Definition at line 81 of file item.h.
Referenced by TaskRead::Process().
|
inline |
Definition at line 65 of file item.h.
Referenced by TaskRegister::Process(), and TaskChunk::Process().
|
inline |
Definition at line 62 of file item.h.
Referenced by ChunkItem::ChunkItem(), and TaskRegister::Process().
|
inline |
Definition at line 63 of file item.h.
Referenced by ChunkItem::MakeBulkChunk(), and TaskRegister::Process().
|
inline |
Definition at line 84 of file item.h.
Referenced by ChunkItem::ChunkItem().
|
inline |
Definition at line 70 of file item.h.
Referenced by IsProcessed().
|
inline |
Definition at line 86 of file item.h.
Referenced by TaskWrite::OnChunkComplete().
|
inline |
|
inline |
Definition at line 64 of file item.h.
Referenced by TaskChunk::Process(), and TaskRead::Process().
|
inline |
Definition at line 71 of file item.h.
Referenced by TaskRegister::Process().
|
inline |
Definition at line 76 of file item.h.
Referenced by TaskRead::Process().
|
inline |
Definition at line 57 of file item.h.
Referenced by IsQuitBeacon(), TaskRegister::Process(), TaskRead::Process(), and TaskScrubbingCallback::Process().
|
inline |
Definition at line 77 of file item.h.
Referenced by TaskRead::Process().
void FileItem::RegisterChunk | ( | const FileChunk & | file_chunk | ) |
Definition at line 48 of file item.cc.
Referenced by TaskWrite::OnChunkComplete().
|
inline |
Definition at line 69 of file item.h.
Referenced by TaskChunk::Process().
|
inline |
Definition at line 68 of file item.h.
Referenced by TaskRead::Process().
|
inline |
Definition at line 67 of file item.h.
Referenced by TaskRead::Process().
|
inline |
Definition at line 58 of file item.h.
Referenced by ChunkItem::IsSolePiece(), TaskChunk::Process(), and TaskRead::Process().
|
private |
Definition at line 104 of file item.h.
Referenced by bulk_hash(), and RegisterChunk().
|
private |
Definition at line 103 of file item.h.
Referenced by chunk_detector().
|
private |
Definition at line 105 of file item.h.
Referenced by GetChunksPtr(), GetNumChunks(), and RegisterChunk().
|
private |
Definition at line 95 of file item.h.
Referenced by compression_algorithm().
|
private |
Definition at line 98 of file item.h.
Referenced by has_legacy_bulk_chunk().
|
private |
Definition at line 96 of file item.h.
Referenced by hash_algorithm().
|
private |
Definition at line 97 of file item.h.
Referenced by hash_suffix().
|
private |
Switches to true once all of the file has been through the chunking stage
Definition at line 114 of file item.h.
Referenced by FileItem(), is_fully_chunked(), and set_is_fully_chunked().
|
staticprivate |
Definition at line 92 of file item.h.
Referenced by CreateQuitBeacon(), and IsQuitBeacon().
|
staticprivate |
|
private |
Definition at line 115 of file item.h.
Referenced by FileItem(), RegisterChunk(), and ~FileItem().
|
private |
Definition at line 101 of file item.h.
Referenced by may_have_chunks(), and set_may_have_chunks().
|
private |
Number of chunks created but not yet uploaded and registered
Definition at line 109 of file item.h.
Referenced by FileItem(), IncNchunksInFly(), IsProcessed(), nchunks_in_fly(), and RegisterChunk().
|
private |
Definition at line 100 of file item.h.
Referenced by RegisterChunk(), set_size(), and size().
|
private |