libfoedus-core
FOEDUS Core Library
|
Shared data of this storage type. More...
Shared data of this storage type.
Definition at line 48 of file array_storage_pimpl.hpp.
#include <array_storage_pimpl.hpp>
Public Member Functions | |
ArrayStorageControlBlock ()=delete | |
~ArrayStorageControlBlock ()=delete | |
bool | exists () const |
Public Attributes | |
soc::SharedMutex | status_mutex_ |
StorageStatus | status_ |
Status of the storage. More... | |
DualPagePointer | root_page_pointer_ |
Points to the root page (or something equivalent). More... | |
ArrayMetadata | meta_ |
metadata of this storage. More... | |
uint8_t | levels_ |
Number of levels. More... | |
LookupRouteFinder | route_finder_ |
uint64_t | intervals_ [8] |
intervals_[x] is the range of array offset in one page of level-x. More... | |
|
delete |
|
delete |
|
inline |
Definition at line 53 of file array_storage_pimpl.hpp.
References foedus::storage::kExists, foedus::storage::kMarkedForDeath, and status_.
Referenced by foedus::storage::array::ArrayStoragePimpl::exists().
uint64_t foedus::storage::array::ArrayStorageControlBlock::intervals_[8] |
intervals_[x] is the range of array offset in one page of level-x.
For example, [0] is the number of records in leaf (level-0), [1] = [0] * kInteriorFanout, .... When you use this information, be careful on right-most page. If the page is right-most (eg root page), the end should be the array's size, which might be smaller than the range it can physically contain.
Definition at line 78 of file array_storage_pimpl.hpp.
Referenced by foedus::storage::array::ArrayStoragePimpl::load_empty().
uint8_t foedus::storage::array::ArrayStorageControlBlock::levels_ |
Number of levels.
Definition at line 67 of file array_storage_pimpl.hpp.
Referenced by foedus::storage::array::ArrayStoragePimpl::get_levels(), foedus::storage::array::ArrayStoragePimpl::load(), and foedus::storage::array::ArrayStoragePimpl::load_empty().
ArrayMetadata foedus::storage::array::ArrayStorageControlBlock::meta_ |
metadata of this storage.
Definition at line 61 of file array_storage_pimpl.hpp.
Referenced by foedus::storage::array::ArrayStoragePimpl::create(), foedus::storage::array::ArrayStoragePimpl::get_meta(), foedus::storage::array::ArrayStoragePimpl::load(), and foedus::storage::array::ArrayStoragePimpl::load_empty().
DualPagePointer foedus::storage::array::ArrayStorageControlBlock::root_page_pointer_ |
Points to the root page (or something equivalent).
Definition at line 59 of file array_storage_pimpl.hpp.
Referenced by foedus::storage::array::ArrayStoragePimpl::get_root_page(), foedus::storage::array::ArrayStoragePimpl::hcc_reset_all_temperature_stat(), foedus::storage::array::ArrayStoragePimpl::load(), and foedus::storage::array::ArrayStoragePimpl::load_empty().
LookupRouteFinder foedus::storage::array::ArrayStorageControlBlock::route_finder_ |
Definition at line 68 of file array_storage_pimpl.hpp.
Referenced by foedus::storage::array::ArrayStoragePimpl::load(), foedus::storage::array::ArrayStoragePimpl::load_empty(), foedus::storage::array::ArrayStoragePimpl::lookup_for_read(), foedus::storage::array::ArrayStoragePimpl::lookup_for_read_batch(), foedus::storage::array::ArrayStoragePimpl::lookup_for_write(), foedus::storage::array::ArrayStoragePimpl::lookup_for_write_batch(), and foedus::storage::array::ArrayStoragePimpl::prefetch_pages_recurse().
StorageStatus foedus::storage::array::ArrayStorageControlBlock::status_ |
Status of the storage.
Definition at line 57 of file array_storage_pimpl.hpp.
Referenced by foedus::storage::array::ArrayStoragePimpl::create(), exists(), and foedus::storage::array::ArrayStoragePimpl::load().
soc::SharedMutex foedus::storage::array::ArrayStorageControlBlock::status_mutex_ |
Definition at line 55 of file array_storage_pimpl.hpp.