Storage Engine API
mongo::partitioned_detail Namespace Reference

Typedefs

using CacheAlignedMutex = CacheAligned< stdx::mutex >
 

Functions

template<typename Key , typename Value >
Key getKey (const std::pair< Key, Value > &pair)
 
template<typename Key >
Key getKey (const Key &key)
 
template<typename T >
std::vector< stdx::unique_lock< stdx::mutex > > lockAllPartitions (T &mutexes)
 

Typedef Documentation

◆ CacheAlignedMutex

using mongo::partitioned_detail::CacheAlignedMutex = typedef CacheAligned<stdx::mutex>

Function Documentation

◆ getKey() [1/2]

template<typename Key , typename Value >
Key mongo::partitioned_detail::getKey ( const std::pair< Key, Value > &  pair)

◆ getKey() [2/2]

template<typename Key >
Key mongo::partitioned_detail::getKey ( const Key &  key)

◆ lockAllPartitions()

template<typename T >
std::vector<stdx::unique_lock<stdx::mutex> > mongo::partitioned_detail::lockAllPartitions ( T &  mutexes)
inline