A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCConcurrentMap.html below:

NCBI C++ ToolKit: CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity

Search Toolkit Book for CConcurrentMap

#include "concurrent_map.hpp"
(Private to src/app/netcache.)

enum   {
  kCntChildsInNode = CntChildsInNode , kMaxTreeHeight = MaxTreeHeight , kDeletionDelay = DeletionDelay , kDelStoreCapacity = DelStoreCapacity ,
  kLeafTreeLevel = 1
}   enum   EGetValueType { eGetOnlyActive , eGetActiveAndPassive }   typedef Uint1  TTreeHeight   typedef Uint1  TNodeIndex   typedef Key  TKey   typedef Value  TValue   typedef Comparator  TComparator   typedef Allocator  TKeyAlloc   typedef Allocator::template rebind< SRefedKey >::other  TRefedKeyAlloc   typedef Allocator::template rebind< SNode >::other  TNodeAlloc   typedef Allocator::template rebind< SLeafNode >::other  TLeafAlloc   typedef CConcurrentMap< TKey, TValue, TComparator, TKeyAlloc, kCntChildsInNode, kMaxTreeHeight, kDeletionDelay, kDelStoreCapacityTTree   typedef map< TKey, TValue, TComparatorTMap     CConcurrentMap (const CConcurrentMap &)   CConcurrentMapoperator= (const CConcurrentMap &)   void  x_AddKeyRef (SRefedKey *key_ref, Uint4 cnt_ref=1)   void  x_DerefKey (SRefedKey *key_ref)   void  x_AssignKeyRef (SRefedKey *&to_ref, SRefedKey *from_ref)   void  x_AssignKeyRef (SRefedKey *&to_ref, const TKey &key)   bool  x_IsKeyLess (const TKey &left_key, const TKey &right_key) const   bool  x_IsKeyLess (const SRefedKey *left_ref, const TKey &right_key) const   bool  x_IsKeyLess (const TKey &left_key, const SRefedKey *right_ref) const   bool  x_IsKeyLess (const SRefedKey *left_ref, const SRefedKey *right_ref) const   bool  x_IsNodeToBeDeleted (SNode *node) const   TValuex_Value (SNode *node, TNodeIndex index) const   bool  x_IsKeyFound (SNode *node, const TKey &key, TNodeIndex index) const   TNodeIndex  x_FindKeyIndex (SNode *node, const TKey &key) const   TNodeIndex  x_FindKeyIndex (SNode *node, const SRefedKey *key_ref) const   TNodeIndex  x_GetNextIndex (SNode *node, TNodeIndex index) const   TNodeIndex  x_FindContainingIndex (SNode *node, const TKey &key) const   void  x_ScanForInsertSpace (SNode *node, TNodeIndex &index, TNodeIndex &ins_index)   void  x_FindInsertSpace (SNode *node, TNodeIndex &index, TNodeIndex &ins_index)   SNodex_CreateNode (SRefedKey *max_key, TTreeHeight tree_level)   void  x_DeleteNode (SNode *node)   void  x_FinalDeleteNode (SNode *node)   void  x_Initialize (void)   void  x_Finalize (void)   bool  x_SetValueStatus (const TKey &key, EValueStatus status)   bool  x_EraseIf (const TKey &key, EValueStatus status)   void  x_GetRootAndHeight (SNode *&node, TTreeHeight &height, bool add_ref) const   void  x_ChangeRoot (SNode *new_root, TTreeHeight new_height)   bool  x_CanShrinkTree (void) const   void  x_ShrinkTree (void)   void  x_InitializeCallContext (SCallContext &call_ctx) const   void  x_FinalizeCallContext (SCallContext &call_ctx) const   SNodex_LockCurNode (SCallContext &call_ctx, ERWLockType lock_type) const   void  x_UnlockCurNode (SCallContext &call_ctx) const   void  x_ExchangeNodeLocks (SCallContext &call_ctx, SNode *node_to_lock) const   TNodeIndex  x_LockNodeAndWaitKey (SCallContext &call_ctx, SRefedKey *wait_key_ref, SNode *wait_child_value)   bool  x_DiveAndFindKey (SCallContext &call_ctx, ERWLockType leaf_lock_type, TNodeIndex &key_index) const   bool  x_DiveAndCreateValue (SCallContext &call_ctx, const TValue &value, TNodeIndex &key_index, TValue *&value_ptr)   void  x_DeleteKey (SCallContext &call_ctx, TNodeIndex key_index)   Delete key from the tree. More...
  bool  x_DiveToLeafLevel (SCallContext &call_ctx) const   bool  x_DiveToNextLevel (SCallContext &call_ctx) const   void  x_MoveOneLevelUp (SCallContext &call_ctx) const   void  x_MoveOneLevelDown (SCallContext &call_ctx, TNodeIndex index) const   bool  x_LockLeafNode (SCallContext &call_ctx, ERWLockType lock_type) const   bool  x_CreatePathToLeaf (SCallContext &call_ctx)   TValuex_InsertLeafValue (SCallContext &call_ctx, SNode *node, TNodeIndex key_index, const TValue &value)   TNodeIndex  x_AddNodeKey (SCallContext &call_ctx, SNode *node, SRefedKey *key_ref, SNode *value_node)   void  x_SplitNode (SCallContext &call_ctx, SNode *node)   void  x_PropagateSplit (SCallContext &call_ctx)   void  x_AddRegularSplit (SCallContext &call_ctx)   void  x_CheckRootSplit (SCallContext &call_ctx)   void  x_AddNewRoot (SCallContext &call_ctx)   void  x_DeleteEmptyNodes (SCallContext &call_ctx)   template<class Key, class Value, class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>
class CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >

Definition at line 77 of file concurrent_map.hpp.

◆ TComparator

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 105 of file concurrent_map.hpp.

◆ TDeferredDeleter

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

typedef CNCDeferredDeleter<SNode*, CFinalNodeDeleter, kDeletionDelay, kDelStoreCapacity> CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::TDeferredDeleter private

Definition at line 287 of file concurrent_map.hpp.

◆ TKey

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 103 of file concurrent_map.hpp.

◆ TKeyAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 106 of file concurrent_map.hpp.

◆ TLeafAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 109 of file concurrent_map.hpp.

◆ TMap

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 114 of file concurrent_map.hpp.

◆ TNodeAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 108 of file concurrent_map.hpp.

◆ TNodeIndex

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 102 of file concurrent_map.hpp.

◆ TRefedKeyAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 107 of file concurrent_map.hpp.

◆ TTree

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

typedef CConcurrentMap<TKey, TValue, TComparator, TKeyAlloc, kCntChildsInNode, kMaxTreeHeight, kDeletionDelay, kDelStoreCapacity> CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::TTree

Definition at line 113 of file concurrent_map.hpp.

◆ TTreeHeight

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 101 of file concurrent_map.hpp.

◆ TValue

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 104 of file concurrent_map.hpp.

◆ anonymous enum

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Enumerator kCntChildsInNode  kMaxTreeHeight  kDeletionDelay  kDelStoreCapacity  kLeafTreeLevel 

Definition at line 89 of file concurrent_map.hpp.

◆ EGetValueType

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

◆ EValueStatus

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Enumerator eValueDeleted  eValuePassive 

Must be 0.

eValueActive 

Definition at line 82 of file concurrent_map.hpp.

◆ CConcurrentMap() [1/2]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

◆ ~CConcurrentMap()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 127 of file concurrent_map.hpp.

◆ CConcurrentMap() [2/2]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::CConcurrentMap ( const CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity > &  ) private ◆ ActivateKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 186 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, ncbi::grid::netcache::search::fields::key, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SetValueStatus().

◆ Clear()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Clear ( void  ) inline

Caller is responsible to not make this call concurrent with any other method call (the same as calling ctor and dtor).

Definition at line 218 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Finalize(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize().

◆ Erase()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 156 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, ncbi::grid::netcache::search::fields::key, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_EraseIf().

◆ EraseIfPassive()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 190 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValuePassive, ncbi::grid::netcache::search::fields::key, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_EraseIf().

◆ Get()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 135 of file concurrent_map.hpp.

References eReadLock, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, result, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, rapidjson::value, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Value().

◆ GetCntLeafNodes()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Uint4 CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetCntLeafNodes ( void  ) const inline ◆ GetCntNodes()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Uint4 CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetCntNodes ( void  ) const inline ◆ GetCntValues()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Uint4 CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetCntValues ( void  ) const inline ◆ GetTreeHeight()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

◆ HeartBeat()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::HeartBeat ( void  ) inline ◆ operator=()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

CConcurrentMap& CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::operator= ( const CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity > &  ) private ◆ PassivateKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 182 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValuePassive, ncbi::grid::netcache::search::fields::key, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SetValueStatus().

◆ Put()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 146 of file concurrent_map.hpp.

References ncbi::grid::netcache::search::fields::key, rapidjson::value, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext().

◆ PutOrGet()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

bool CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::PutOrGet ( const TKeykey, const TValuevalue, EGetValueType  get_type, TValueret_value  ) inline

Definition at line 160 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eGetOnlyActive, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, result, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, rapidjson::value, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Value().

◆ x_AddKeyRef()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 291 of file concurrent_map.hpp.

References CAtomicCounter::Add(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::ref_cnt.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNewRoot(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AssignKeyRef(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes().

◆ x_AddNewRoot()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 961 of file concurrent_map.hpp.

References _ASSERT, abort(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, DIAG_COMPILE_INFO, CNcbiDiag::DiagTrouble(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kMaxTreeHeight, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_node, NULL, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::right_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::split_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_height, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddKeyRef(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ChangeRoot(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CheckRootSplit().

◆ x_AddNodeKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

TNodeIndex CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey ( SCallContextcall_ctx, SNodenode, SRefedKeykey_ref, SNodevalue_node  ) inlineprivate

Definition at line 842 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AssignKeyRef(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindInsertSpace(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetNextIndex(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SplitNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddRegularSplit(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf().

◆ x_AddRegularSplit()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 922 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::right_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::split_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockNodeAndWaitKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_PropagateSplit().

◆ x_AssignKeyRef() [1/2]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 307 of file concurrent_map.hpp.

References CAtomicCounter::Add(), ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RefedKeyAlloc, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::ref_cnt, and CAtomicCounter::Set().

◆ x_AssignKeyRef() [2/2]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 301 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddKeyRef(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DerefKey().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue().

◆ x_CanShrinkTree()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

bool CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CanShrinkTree ( void  ) const inlineprivate

Definition at line 583 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CAtomicCounter::Get(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntRootRefs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootNode, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_TreeHeight.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree().

◆ x_ChangeRoot()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 575 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootNode, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_TreeHeight.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNewRoot().

◆ x_CheckRootSplit()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 940 of file concurrent_map.hpp.

References _ASSERT, _VERIFY, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_height, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNewRoot(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetRootAndHeight().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_PropagateSplit().

◆ x_CreateNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 453 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, i, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntLeafNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_LeafAlloc, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_NodeAlloc, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, NULL, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddKeyRef().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNewRoot(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SplitNode().

◆ x_CreatePathToLeaf()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 790 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, eWriteLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ExchangeNodeLocks(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindContainingIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsNodeToBeDeleted(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockCurNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_MoveOneLevelDown(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_MoveOneLevelUp(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue().

◆ x_DeleteEmptyNodes()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 984 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddKeyRef(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CanShrinkTree(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DerefKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsNodeToBeDeleted(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockNodeAndWaitKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteKey().

◆ x_DeleteKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Delete key from the tree.

No real deletion will be done unless the node becomes empty. Node is deleted then cleaning all its keys and values. Only value status is changed otherwise

Definition at line 723 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntValues, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsNodeToBeDeleted().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_EraseIf().

◆ x_DeleteNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteNode ( SNodenode ) inlineprivate

Definition at line 474 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntLeafNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_NodesDeleter, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree().

◆ x_DerefKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 296 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RefedKeyAlloc, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::ref_cnt.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AssignKeyRef(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalDeleteNode().

◆ x_DiveAndCreateValue()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

bool CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue ( SCallContextcall_ctx, const TValuevalue, TNodeIndexkey_index, TValue *&  value_ptr  ) inlineprivate

Definition at line 690 of file concurrent_map.hpp.

References eWriteLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, result, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, rapidjson::value, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToLeafLevel(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyFound(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockLeafNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_PropagateSplit(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Value().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Put(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::PutOrGet().

◆ x_DiveAndFindKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 674 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToLeafLevel(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyFound(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockLeafNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Get(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_EraseIf(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SetValueStatus().

◆ x_DiveToLeafLevel()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 732 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey().

◆ x_DiveToNextLevel()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 740 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, eReadLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindContainingIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsNodeToBeDeleted(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockCurNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_MoveOneLevelDown(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_MoveOneLevelUp(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CheckRootSplit(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToLeafLevel().

◆ x_EraseIf()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 550 of file concurrent_map.hpp.

References eWriteLock, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, result, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Erase(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::EraseIfPassive().

◆ x_ExchangeNodeLocks()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 641 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, eWriteLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_type, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::node_lock, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SplitNode().

◆ x_FinalDeleteNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalDeleteNode ( SNodenode ) inlineprivate

Definition at line 481 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, i, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_LeafAlloc, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_NodeAlloc, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DerefKey().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::CFinalNodeDeleter::Delete(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Finalize().

◆ x_Finalize()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Finalize ( void  ) inlineprivate

Definition at line 503 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CAtomicCounter::Get(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kMaxTreeHeight, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootNode, NULL, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalDeleteNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Clear().

◆ x_FinalizeCallContext()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext ( SCallContextcall_ctx ) const inlineprivate

Definition at line 614 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntRootRefs, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Get(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Put(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::PutOrGet(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_EraseIf(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SetValueStatus().

◆ x_FindContainingIndex()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 386 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetNextIndex().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel().

◆ x_FindInsertSpace()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 443 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ScanForInsertSpace().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue().

◆ x_FindKeyIndex() [1/2]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 366 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, NULL, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex().

◆ x_FindKeyIndex() [2/2]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 354 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindContainingIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockNodeAndWaitKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree().

◆ x_GetNextIndex()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 378 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindContainingIndex().

◆ x_GetRootAndHeight()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 566 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntRootRefs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootNode, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_TreeHeight.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CheckRootSplit(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext().

◆ x_Initialize()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize ( void  ) inlineprivate

Definition at line 493 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntLeafNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntNodes, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntRootRefs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntValues, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_TreeHeight, NULL, CAtomicCounter::Set(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::CConcurrentMap(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Clear().

◆ x_InitializeCallContext()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext ( SCallContextcall_ctx ) const inlineprivate

Definition at line 606 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::split_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_height, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetRootAndHeight().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Get(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Put(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::PutOrGet(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_EraseIf(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SetValueStatus().

◆ x_InsertLeafValue()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

TValue* CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue ( SCallContextcall_ctx, SNodenode, TNodeIndex  key_index, const TValuevalue  ) inlineprivate

Definition at line 821 of file concurrent_map.hpp.

References CAtomicCounter::Add(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueActive, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_CntValues, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, rapidjson::value, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AssignKeyRef(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindInsertSpace(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SplitNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Value().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue().

◆ x_IsKeyFound()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 348 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey().

◆ x_IsKeyLess() [1/4]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 331 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::key, NULL, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

◆ x_IsKeyLess() [2/4]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 319 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::key, NULL, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

◆ x_IsKeyLess() [3/4]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 325 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SRefedKey::key, NULL, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

◆ x_IsKeyLess() [4/4]

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 315 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_Comparator.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyFound(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockCurNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_SplitNode().

◆ x_IsNodeToBeDeleted()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

bool CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsNodeToBeDeleted ( SNodenode ) const inlineprivate

Definition at line 340 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, and NULL.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockLeafNode().

◆ x_LockCurNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 621 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_type, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::node_lock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockLeafNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockNodeAndWaitKey().

◆ x_LockLeafNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 780 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsNodeToBeDeleted(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockCurNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_MoveOneLevelUp(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey().

◆ x_LockNodeAndWaitKey()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 649 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, eWriteLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, NCBI_SCHED_YIELD, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockCurNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddRegularSplit(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes().

◆ x_MoveOneLevelDown()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 774 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel().

◆ x_MoveOneLevelUp()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 760 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::cur_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_height, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockLeafNode().

◆ x_PropagateSplit()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 912 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::split_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_height, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddRegularSplit(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CheckRootSplit(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_UnlockCurNode().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue().

◆ x_ScanForInsertSpace()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 393 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, i, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, leaf(), memmove, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindInsertSpace().

◆ x_SetValueStatus()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 539 of file concurrent_map.hpp.

References eWriteLock, ncbi::grid::netcache::search::fields::key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, result, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndFindKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InitializeCallContext().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::ActivateKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::PassivateKey().

◆ x_ShrinkTree()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

void CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree ( void  ) inlineprivate

Definition at line 588 of file concurrent_map.hpp.

References _ASSERT, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootLock, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_TreeHeight, NULL, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CanShrinkTree(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FindKeyIndex().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes().

◆ x_SplitNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 867 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNode::childs, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::cnt_filled, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::eValueDeleted, i, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kCntChildsInNode, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::keys, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::kLeafTreeLevel, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::left_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::lookup_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::max_key, NULL, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::right_key, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::right_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::split_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::status, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::tree_level, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::tree_path, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SLeafNode::values, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ExchangeNodeLocks(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_IsKeyLess().

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddNodeKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue().

◆ x_UnlockCurNode()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 636 of file concurrent_map.hpp.

References CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_node, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SCallContext::locked_type, CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::SNodeBase::node_lock, and NULL.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AddRegularSplit(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreatePathToLeaf(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteEmptyNodes(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveToNextLevel(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockLeafNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_LockNodeAndWaitKey(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_PropagateSplit().

◆ x_Value()

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 344 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::Get(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::PutOrGet(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DiveAndCreateValue(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue().

◆ CFinalNodeDeleter

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 288 of file concurrent_map.hpp.

◆ m_CntLeafNodes

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1016 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetCntLeafNodes(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize().

◆ m_CntNodes

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1015 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetCntNodes(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteNode(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Finalize(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize().

◆ m_CntRootRefs

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1014 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CanShrinkTree(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalizeCallContext(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetRootAndHeight(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize().

◆ m_CntValues

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1017 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetCntValues(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteKey(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_InsertLeafValue().

◆ m_Comparator

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

◆ m_LeafAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1021 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalDeleteNode().

◆ m_NodeAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1020 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CreateNode(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_FinalDeleteNode().

◆ m_NodesDeleter

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1013 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::HeartBeat(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DeleteNode().

◆ m_RefedKeyAlloc

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1022 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_AssignKeyRef(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_DerefKey().

◆ m_RootLock

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

CSpinRWLock CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::m_RootLock mutableprivate

Definition at line 1011 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ChangeRoot(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetRootAndHeight(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree().

◆ m_RootNode

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1012 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CanShrinkTree(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ChangeRoot(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Finalize(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetRootAndHeight(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree().

◆ m_TreeHeight

template<class Key , class Value , class Comparator = less<Key>, class Allocator = SConstructAllocator<Key>, TPL_UINT1 CntChildsInNode = 8, TPL_UINT1 MaxTreeHeight = 16, TPL_UINT1 DeletionDelay = 3, TPL_UINT1 DelStoreCapacity = 20>

Definition at line 1018 of file concurrent_map.hpp.

Referenced by CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::GetTreeHeight(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_CanShrinkTree(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ChangeRoot(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_GetRootAndHeight(), CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_Initialize(), and CConcurrentMap< Key, Value, Comparator, Allocator, CntChildsInNode, MaxTreeHeight, DeletionDelay, DelStoreCapacity >::x_ShrinkTree().

The documentation for this class was generated from the following file:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4