libfoedus-core
FOEDUS Core Library
foedus::storage::Metadata::SnapshotThresholds Struct Reference

Tuning parameters related to snapshotting. More...

Detailed Description

Tuning parameters related to snapshotting.

Definition at line 60 of file metadata.hpp.

#include <metadata.hpp>

Public Member Functions

 SnapshotThresholds ()
 

Public Attributes

uint32_t snapshot_trigger_threshold_
 [Not implemented yet] If this storage has more than this number of volatile pages, log gleaner will soon start to drop some of the volatile pages. More...
 
uint32_t snapshot_keep_threshold_
 [Only partially implemented] When a log gleaner created new snapshot pages for this storage, this storage tries to keep this number of volatile pages. More...
 

Constructor & Destructor Documentation

foedus::storage::Metadata::SnapshotThresholds::SnapshotThresholds ( )
inline

Definition at line 61 of file metadata.hpp.

uint32_t snapshot_keep_threshold_
[Only partially implemented] When a log gleaner created new snapshot pages for this storage...
Definition: metadata.hpp:76
uint32_t snapshot_trigger_threshold_
[Not implemented yet] If this storage has more than this number of volatile pages, log gleaner will soon start to drop some of the volatile pages.
Definition: metadata.hpp:67

Member Data Documentation

uint32_t foedus::storage::Metadata::SnapshotThresholds::snapshot_keep_threshold_

[Only partially implemented] When a log gleaner created new snapshot pages for this storage, this storage tries to keep this number of volatile pages.

The implementation will try to keep volatile pages that will most frequently used. Default is 0, meaning this storage drops all unmodified volatile pages after each snapshot. Each storage type provides additional knobs specific to their structure. Checkout the derived metadata class.

Definition at line 76 of file metadata.hpp.

Referenced by foedus::storage::Metadata::keeps_all_volatile_pages(), foedus::storage::MetadataSerializer::load_base(), and foedus::storage::MetadataSerializer::save_base().

uint32_t foedus::storage::Metadata::SnapshotThresholds::snapshot_trigger_threshold_

[Not implemented yet] If this storage has more than this number of volatile pages, log gleaner will soon start to drop some of the volatile pages.

Default is 0, meaning this storage has no such threshold.

Definition at line 67 of file metadata.hpp.

Referenced by foedus::storage::MetadataSerializer::load_base(), and foedus::storage::MetadataSerializer::save_base().


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