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 
11 namespace xenium { namespace policy {
12 
24 template <class Reclaimer>
25 struct reclaimer;
26 
38 template <class Backoff>
39 struct backoff;
40 
49 template <class Backoff>
50 struct compare;
51 
60 template <std::size_t Value>
61 struct capacity;
62 
63 
73 template <class Container>
74 struct container;
75 
85 template <class T>
86 struct hash;
87 
96 template <class T>
98 
103 template <unsigned Value>
105 
116 template <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