![]() |
CernVM-FS
2.13.0
|
#include <glue_buffer.h>
Public Member Functions | |
int32_t | Add (const struct stat &info) |
uint64_t | Erase (int32_t index) |
struct stat | Get (int32_t index) const |
Private Attributes | |
BigVector< struct stat > | store_ |
A vector of stat structs. When removing items, the empty slot is swapped with the last element so that there are no gaps in the vector. The memory allocation of the vector grows and shrinks with the size. Removal of items returns the inode of the element swapped with the gap so that the page entry tracker can update its index.
Definition at line 368 of file glue_buffer.h.
|
inline |
Definition at line 370 of file glue_buffer.h.
Referenced by glue::PageCacheTracker::Open().
|
inline |
Definition at line 379 of file glue_buffer.h.
Referenced by glue::PageCacheTracker::Close().
|
inline |
Definition at line 387 of file glue_buffer.h.
Referenced by glue::PageCacheTracker::GetInfoIfOpen(), and glue::PageCacheTracker::IsStale().
|
private |
Definition at line 390 of file glue_buffer.h.