#include <swcdb/core/Atomic.h>
Public Member Functions | |
constexpr SWC_CAN_INLINE | Atomic () noexcept |
template<typename ValueT > | |
constexpr SWC_CAN_INLINE | Atomic (ValueT initial) noexcept |
Atomic (const Atomic< T > &)=delete | |
Atomic (const Atomic< T > &&)=delete | |
template<typename ValueT > | |
Atomic< T > & | operator= (ValueT v)=delete |
~Atomic () noexcept | |
constexpr SWC_CAN_INLINE T | fetch_sub (T v) noexcept |
constexpr SWC_CAN_INLINE T | fetch_add (T v) noexcept |
constexpr SWC_CAN_INLINE T | fetch_xor (T v) noexcept |
constexpr SWC_CAN_INLINE T | fetch_and (T v) noexcept |
constexpr SWC_CAN_INLINE T | fetch_or (T v) noexcept |
constexpr SWC_CAN_INLINE T | sub_rslt (T v) noexcept |
constexpr SWC_CAN_INLINE T | add_rslt (T v) noexcept |
constexpr SWC_CAN_INLINE T | xor_rslt (T v) noexcept |
constexpr SWC_CAN_INLINE T | and_rslt (T v) noexcept |
constexpr SWC_CAN_INLINE T | or_rslt (T v) noexcept |
constexpr SWC_CAN_INLINE T | operator++ (int) noexcept |
constexpr SWC_CAN_INLINE T | operator-- (int) noexcept |
![]() | |
constexpr SWC_CAN_INLINE | AtomicBase () noexcept |
constexpr SWC_CAN_INLINE | AtomicBase (ValueT initial) noexcept |
AtomicBase (const AtomicBase< T > &)=delete | |
AtomicBase (const AtomicBase< T > &&)=delete | |
AtomicBase< T > & | operator= (ValueT v)=delete |
~AtomicBase () noexcept | |
constexpr SWC_CAN_INLINE void | store (T v) noexcept |
constexpr SWC_CAN_INLINE T | load () const noexcept |
constexpr SWC_CAN_INLINE T | exchange (T value) noexcept |
constexpr SWC_CAN_INLINE bool | compare_exchange_weak (T &at, T value) noexcept |
constexpr SWC_CAN_INLINE | operator T () const noexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineexplicitconstexprnoexcept |
|
delete |
|
delete |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
Definition at line 120 of file Atomic.h.
Referenced by SWC::Manager::Rangers::assign_ranges_run(), SWC::FS::FileSystemHadoop::create(), SWC::FS::FileSystemHadoopJVM::create(), SWC::Manager::MngdColumns::get_next_cid(), SWC::Core::CompletionCounter< uint64_t >::increment_and_count(), SWC::FS::FileSystemHadoop::open(), and SWC::FS::FileSystemHadoopJVM::open().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 93 of file Atomic.h.
Referenced by SWC::Env::FsBroker::_can_process(), SWC::client::Query::Profiling::Component::add(), SWC::client::Query::Profiling::Component::add_cached(), SWC::client::Query::Update::Handlers::Base::add_resend_count(), SWC::Core::Atomic< State >::add_rslt(), SWC::System::Mem::adj_mem_releasable(), SWC::Ranger::Compaction::compact(), SWC::Ranger::CompactRange::finalize(), SWC::FS::SmartFd::forward(), SWC::Comm::client::Serialized::get_connection(), SWC::client::Query::Update::Handlers::Metric::Item_Count::increment(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::increment(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::increment(), SWC::Core::CompletionCounter< uint64_t >::increment(), SWC::Ranger::CellStore::Block::Read::load(), SWC::Ranger::BlockLoader::load_cellstores_cells(), SWC::Ranger::BlockLoader::load_log_cells(), SWC::Ranger::Compaction::log_compact_possible(), SWC::System::Mem::more_mem_future(), SWC::System::Mem::more_mem_releasable(), SWC::Core::Atomic< State >::operator++(), SWC::client::Query::Profiling::Component::operator+=(), SWC::Ranger::CompactRange::process_encode(), SWC::Ranger::CompactRange::process_interval(), SWC::Ranger::CompactRange::process_write(), SWC::ThriftBroker::AppHandler::Processing::Processing(), SWC::Ranger::Blocks::processing_increment(), SWC::Ranger::CommitLog::Fragment::processing_increment(), SWC::Ranger::Block::processing_increment(), SWC::Ranger::Blocks::release(), SWC::Ranger::CompactRange::response(), SWC::Ranger::Range::run_add_queue(), and SWC::Core::Mem::Item::use().
|
inlineconstexprnoexcept |
Definition at line 103 of file Atomic.h.
Referenced by SWC::Core::Atomic< State >::and_rslt().
|
inlineconstexprnoexcept |
Definition at line 108 of file Atomic.h.
Referenced by SWC::Core::Atomic< State >::or_rslt().
|
inlineconstexprnoexcept |
Definition at line 88 of file Atomic.h.
Referenced by SWC::Ranger::Range::_run_add_queue(), SWC::Ranger::Compaction::compacted(), SWC::client::Query::Update::Handlers::Metric::Item_Volume::decrement(), SWC::client::Query::Update::Handlers::Metric::Item_CountVolume::decrement(), SWC::Ranger::CommitLog::Compact::finalized(), SWC::Comm::client::Serialized::get_connection(), SWC::Core::CompletionCounter< uint64_t >::is_last(), SWC::System::Mem::less_mem_future(), SWC::System::Mem::less_mem_releasable(), SWC::Ranger::CellStore::Block::Read::load_cells(), SWC::Ranger::CommitLog::Fragment::load_cells(), SWC::Ranger::Compaction::log_compact_finished(), SWC::Core::Atomic< State >::operator--(), SWC::Ranger::CompactRange::process_write(), SWC::Ranger::Blocks::processing_decrement(), SWC::Ranger::CellStore::Block::Read::processing_decrement(), SWC::Ranger::CommitLog::Fragment::processing_decrement(), SWC::Ranger::Block::processing_decrement(), SWC::Manager::Rangers::range_loaded(), SWC::Ranger::Range::run_add_queue(), SWC::Ranger::CommitLog::Fragment::split(), SWC::Core::Atomic< State >::sub_rslt(), SWC::Core::Mem::Item::unused(), SWC::Ranger::CommitLog::Fragment::write(), and SWC::ThriftBroker::AppHandler::Processing::~Processing().
|
inlineconstexprnoexcept |
Definition at line 98 of file Atomic.h.
Referenced by SWC::Core::Atomic< State >::xor_rslt(), and SWC::Config::Property::Value::zero_token().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
delete |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 115 of file Atomic.h.
Referenced by SWC::Comm::Protocol::Bkr::Handler::ColumnList::callback(), SWC::Core::CompletionCounter< uint64_t >::decrement_and_count(), SWC::Ranger::CommitLog::Compact::finished(), SWC::Ranger::CellStore::Block::Read::load_cells(), and SWC::Ranger::CommitLog::Fragment::load_cells().
|
inlineconstexprnoexcept |