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

Public Member Functions

 Bucket ()
 
 ~Bucket ()
 
void Add (const void *buf, const uint64_t buf_size)
 

Public Attributes

unsigned char * content
 
uint64_t size
 
uint64_t capacity
 
shash::Any id
 
BucketContentType content_type
 
std::string name
 

Static Public Attributes

static const unsigned kInitialSize = 128
 

Additional Inherited Members

- Protected Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

Wrapper around memory to which data can be added. The memory should represent a piece of content-addressable storage.

Definition at line 93 of file pack.h.

Constructor & Destructor Documentation

ObjectPack::Bucket::Bucket ( )

Definition at line 59 of file pack.cc.

ObjectPack::Bucket::~Bucket ( )

Definition at line 77 of file pack.cc.

Member Function Documentation

void ObjectPack::Bucket::Add ( const void *  buf,
const uint64_t  buf_size 
)

Definition at line 66 of file pack.cc.

Referenced by ObjectPack::AddToBucket().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

uint64_t ObjectPack::Bucket::capacity

Definition at line 102 of file pack.h.

Referenced by upload::SessionContextBase::CommitBucket().

unsigned char* ObjectPack::Bucket::content

Definition at line 100 of file pack.h.

BucketContentType ObjectPack::Bucket::content_type

Definition at line 104 of file pack.h.

Referenced by ObjectPack::CommitBucket().

shash::Any ObjectPack::Bucket::id

Definition at line 103 of file pack.h.

Referenced by ObjectPack::CommitBucket().

const unsigned ObjectPack::Bucket::kInitialSize = 128
static

Definition at line 94 of file pack.h.

std::string ObjectPack::Bucket::name

Definition at line 105 of file pack.h.

Referenced by ObjectPack::CommitBucket().

uint64_t ObjectPack::Bucket::size

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