22 #include <quantum/util/quantum_sequence_key_statistics.h> 27 using StatsPtr = std::shared_ptr<SequenceKeyStatisticsWriter>;
37 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
41 _controllerQueueId = controlQueueId;
44 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
48 return _controllerQueueId;
51 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
55 _bucketCount = bucketCount;
58 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
65 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
72 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
79 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
86 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
93 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
97 _allocator = allocator;
100 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
107 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
114 _exceptionCallback = exceptionCallback;
117 template <
class SequenceKey,
class Hash,
class KeyEqual,
class Allocator>
121 return _exceptionCallback;
SequenceKeyData()
Definition: quantum_sequencer_configuration_impl.h:30
Definition: quantum_buffer_impl.h:22
const KeyEqual & getKeyEqual() const
Gets the comparison function to be used for all SequenceKey comparisons for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:88
void setKeyEqual(const KeyEqual &keyEqual)
Sets the comparison function to be used for all SequenceKey comparisons for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:81
StatsPtr _stats
Definition: quantum_sequencer_configuration_impl.h:34
Definition: quantum_sequence_key_statistics.h:72
Definition: quantum_stl_impl.h:23
Definition: quantum_allocator.h:54
ICoroContextBase::Ptr ICoroContextBasePtr
Definition: quantum_icoro_context_base.h:79
Definition: quantum_sequencer_configuration_impl.h:28
const Allocator & getAllocator() const
Gets the allocator for all SequenceKey comparisons for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:102
const ExceptionCallback & getExceptionCallback() const
Gets the exception callback for Scheduler.
Definition: quantum_sequencer_configuration_impl.h:119
void setAllocator(const Allocator &allocator)
Sets the allocator for all SequenceKey comparisons for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:95
void setHash(const Hash &hash)
Sets the hash function to be used for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:67
std::function< void(std::exception_ptr exception, void *opaque)> ExceptionCallback
Callback for unhandled exceptions in tasks posted to Sequencer.
Definition: quantum_sequencer_configuration.h:48
const Hash & getHash() const
Gets the hash function to be used for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:74
int getControlQueueId() const
Gets the id of the control queue.
Definition: quantum_sequencer_configuration_impl.h:46
std::shared_ptr< SequenceKeyStatisticsWriter > StatsPtr
Definition: quantum_sequencer_configuration_impl.h:27
ICoroContextBasePtr _context
Definition: quantum_sequencer_configuration_impl.h:33
size_t getBucketCount() const
gets the minimal number of buckets to be used for the context hash map
Definition: quantum_sequencer_configuration_impl.h:60
void setControlQueueId(int controlQueueId)
Sets the id of the control queue.
Definition: quantum_sequencer_configuration_impl.h:39
void setBucketCount(size_t bucketCount)
Sets the minimal number of buckets to be used for the context hash map.
Definition: quantum_sequencer_configuration_impl.h:53
void setExceptionCallback(const ExceptionCallback &exceptionCallback)
Sets the exception callback for Scheduler.
Definition: quantum_sequencer_configuration_impl.h:109