CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
23 #include <boost/thread.hpp>
27 namespace catapult {
namespace disruptor {
37 inline size_t size()
const {
53 std::vector<std::unique_ptr<DisruptorBarrier>>
m_barriers;
Container for disruptor barriers.
Definition: DisruptorBarriers.h:30
size_t size() const
Returns number of barriers.
Definition: DisruptorBarriers.h:37
DisruptorBarrier & operator[](size_t level)
Returns a barrier at a given level.
Definition: DisruptorBarriers.h:47
std::vector< std::unique_ptr< DisruptorBarrier > > m_barriers
Holds all barriers (barrier level is an index).
Definition: DisruptorBarriers.h:53
Definition: AddressExtractionExtension.cpp:28
const DisruptorBarrier & operator[](size_t level) const
Returns a barrier at a given level.
Definition: DisruptorBarriers.h:42
Definition: DisruptorBarrier.h:32
DisruptorBarriers(size_t levelsCount)
Creates levelsCount barriers with consecutive levels.
Definition: DisruptorBarriers.cpp:26