18 #ifndef FOEDUS_STORAGE_MASSTREE_MASSTREE_METADATA_HPP_
19 #define FOEDUS_STORAGE_MASSTREE_MASSTREE_METADATA_HPP_
55 uint16_t border_early_split_threshold = 0,
56 uint16_t snapshot_drop_volatile_pages_layer_threshold = 0,
58 Layer min_layer_hint = 0)
69 uint16_t border_early_split_threshold = 0,
70 uint16_t snapshot_drop_volatile_pages_layer_threshold = 0,
72 Layer min_layer_hint = 0)
133 if (remainder <=
sizeof(
KeySlice)) {
136 return min_layer_hint_ > cur_layer;
152 #endif // FOEDUS_STORAGE_MASSTREE_MASSTREE_METADATA_HPP_
Definitions of IDs in this package and a few related constant values.
uint32_t StorageId
Unique ID for storage.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
#define EXTERNALIZABLE(clazz)
Macro to declare/define essential methods for an externalizable class.
uint64_t KeySlice
Each key slice is an 8-byte integer.
Definitions of IDs in this package and a few related constant values.
uint16_t KeyLength
Represents a byte-length of a key in this package.
uint8_t Layer
Represents the depth of a B-trie layer.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
Forward declarations of classes in masstree storage package.