DisruptorBarrier represents a consumer barrier (possibly shared by multiple consumers) at a given level.
◆ DisruptorBarrier()
catapult::disruptor::DisruptorBarrier::DisruptorBarrier |
( |
size_t |
level, |
|
|
PositionType |
position |
|
) |
| |
|
inline |
Creates a barrier given its level and position (barrierEndPosition).
◆ advance()
void catapult::disruptor::DisruptorBarrier::advance |
( |
| ) |
|
|
inline |
◆ level()
size_t catapult::disruptor::DisruptorBarrier::level |
( |
| ) |
const |
|
inline |
Returns level of the barrier.
◆ position()
PositionType catapult::disruptor::DisruptorBarrier::position |
( |
| ) |
const |
|
inline |
Returns position of the barrier.
◆ m_level
const size_t catapult::disruptor::DisruptorBarrier::m_level |
|
private |
◆ m_position
std::atomic<PositionType> catapult::disruptor::DisruptorBarrier::m_position |
|
private |
The documentation for this class was generated from the following file: