15#ifndef IOMANAGER_INCLUDE_IOMANAGER_QUEUEBASE_HPP_
16#define IOMANAGER_INCLUDE_IOMANAGER_QUEUEBASE_HPP_
The QueueBase class allows to address generic behavior of any Queue implementation.
QueueBase(const QueueBase &)=delete
QueueBase(QueueBase &&)=default
QueueBase(const std::string &name)
QueueBase Constructor.
QueueBase & operator=(QueueBase &&)=default
QueueBase & operator=(const QueueBase &)=delete
void generate_opmon_data() override
Method to retrieve information (occupancy) from queues.
virtual size_t get_num_elements() const =0
virtual size_t get_capacity() const =0
Get the capacity (max size) of the queue.
void set_number_of_elements(::uint64_t value)
void publish(google::protobuf::Message &&, CustomOrigin &&co={}, OpMonLevel l=to_level(EntryOpMonLevel::kDefault)) const noexcept
Implements the Named interface.
NamedObject(const std::string &name)
NamedObject Constructor.