18 #ifndef FOEDUS_CACHE_CACHE_OPTIONS_HPP_
19 #define FOEDUS_CACHE_CACHE_OPTIONS_HPP_
102 #endif // FOEDUS_CACHE_CACHE_OPTIONS_HPP_
Represents an object that can be written to and read from files/bytes in XML format.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
#define EXTERNALIZABLE(clazz)
Macro to declare/define essential methods for an externalizable class.
bool snapshot_cache_enabled_
Whether to cache the read accesses on snapshot files.
CacheOptions()
Constructs option values with default values.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
uint32_t private_snapshot_cache_initial_grab_
How many pages for snapshot cache each NumaCoreMemory initially grabs when it is initialized.
float snapshot_cache_urgent_threshold_
When the cache eviction performs in an urgent mode, which immediately advances the current epoch to r...
float snapshot_cache_eviction_threshold_
When to start evicting pages in fraction of snapshot page pool capacity.
Set of options for snapshot cache manager.
Default value for snapshot_cache_size_mb_per_node_.
uint32_t snapshot_cache_size_mb_per_node_
Size of the snapshot cache in MB per each NUMA node.
Constants
Constant values.