xenium
policy.hpp
1//
2// Copyright (c) 2018-2020 Manuel Pöter.
3// Licensed under the MIT License. See LICENSE file in the project root for full license information.
4//
5
6#ifndef XENIUM_POLICY_HPP
7#define XENIUM_POLICY_HPP
8
9#include <cstdint>
10
11namespace xenium { namespace policy {
12
24template <class Reclaimer>
25struct reclaimer;
26
38template <class Backoff>
39struct backoff;
40
49template <class Backoff>
50struct compare;
51
60template <std::size_t Value>
61struct capacity;
62
63
73template <class Container>
74struct container;
75
85template <class T>
86struct hash;
87
96template <class T>
98
103template <unsigned Value>
105
116template <unsigned Value>
118}}
119#endif
Policy to configure the allocation strategy.
Definition: policy.hpp:97
Policy to configure the backoff strategy.
Definition: policy.hpp:39
Policy to configure the capacity of various containers.
Definition: policy.hpp:61
Policy to configure the comparison function.
Definition: policy.hpp:50
Policy to configure the internal container type of some data structures.
Definition: policy.hpp:74
Policy to configure the number of entries per allocated node in ramalhete_queue.
Definition: policy.hpp:104
Policy to configure the hash function.
Definition: policy.hpp:86
Policy to configure the number of padding bytes to add to each entry in kirsch_kfifo_queue and kirsch...
Definition: policy.hpp:117
Policy to configure the reclamation scheme to be used.
Definition: policy.hpp:25