Zero  0.1.0
Classes | Typedefs | Enumerations | Functions
bf_tree_cleaner.h File Reference
#include "page_cleaner.h"
#include "bf_tree_cb.h"
#include <functional>

Go to the source code of this file.

Classes

struct  cleaner_cb_info
 
class  bf_tree_cleaner
 

Typedefs

using policy_predicate_t = std::function< bool(const cleaner_cb_info &, const cleaner_cb_info &)>
 

Enumerations

enum  cleaner_policy {
  cleaner_policy::highest_refcount, cleaner_policy::lowest_refcount, cleaner_policy::oldest_lsn, cleaner_policy::mixed,
  cleaner_policy::highest_density, cleaner_policy::lru, cleaner_policy::no_policy
}
 

Functions

cleaner_policy make_cleaner_policy (string s)
 

Typedef Documentation

§ policy_predicate_t

using policy_predicate_t = std::function<bool(const cleaner_cb_info&, const cleaner_cb_info&)>

Type of predicate functions used by cleaner policies

Enumeration Type Documentation

§ cleaner_policy

enum cleaner_policy
strong

These classes encapsulate a single comparator function to be used as a cleaner policy.

Enumerator
highest_refcount 
lowest_refcount 
oldest_lsn 
mixed 
highest_density 
lru 
no_policy 

Function Documentation

§ make_cleaner_policy()

cleaner_policy make_cleaner_policy ( string  s)
inline