OmniSciDB
a667adc9c8
|
#include <LockMgrImpl.h>
Public Member Functions | |
MutexType * | getTableMutex (const ChunkKey table_key) |
std::set< ChunkKey > | getLockedTables () const |
Static Public Member Functions | |
static WriteLock | getWriteLockForTable (const Catalog_Namespace::Catalog &cat, const std::string &table_name) |
static WriteLock | getWriteLockForTable (const ChunkKey table_key) |
static ReadLock | getReadLockForTable (const Catalog_Namespace::Catalog &cat, const std::string &table_name) |
static ReadLock | getReadLockForTable (const ChunkKey table_key) |
Protected Member Functions | |
TableLockMgrImpl () | |
Protected Attributes | |
std::mutex | map_mutex_ |
std::map< ChunkKey, std::unique_ptr< MutexType > > | table_mutex_map_ |
Definition at line 130 of file LockMgrImpl.h.
|
inlineprotected |
Definition at line 174 of file LockMgrImpl.h.
|
inline |
Definition at line 143 of file LockMgrImpl.h.
|
inlinestatic |
Definition at line 164 of file LockMgrImpl.h.
|
inlinestatic |
Definition at line 168 of file LockMgrImpl.h.
|
inline |
Definition at line 132 of file LockMgrImpl.h.
|
inlinestatic |
Definition at line 155 of file LockMgrImpl.h.
|
inlinestatic |
Definition at line 159 of file LockMgrImpl.h.
|
mutableprotected |
Definition at line 176 of file LockMgrImpl.h.
Referenced by lockmgr::TableLockMgrImpl< TableDataLockMgr >::getLockedTables(), and lockmgr::TableLockMgrImpl< TableDataLockMgr >::getTableMutex().
|
protected |
Definition at line 177 of file LockMgrImpl.h.
Referenced by lockmgr::TableLockMgrImpl< TableDataLockMgr >::getLockedTables(), and lockmgr::TableLockMgrImpl< TableDataLockMgr >::getTableMutex().