OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Lock_Namespace::TableLockMgr Class Reference

#include <TableLockMgr.h>

+ Inheritance diagram for Lock_Namespace::TableLockMgr:
+ Collaboration diagram for Lock_Namespace::TableLockMgr:

Static Public Member Functions

static TableLockMgrinstance ()
 
- Static Public Member Functions inherited from Lock_Namespace::TableLockMgrImpl< TableLockMgr >
static void getTableLocks (const Catalog_Namespace::Catalog &cat, const std::map< std::string, bool > &table_names, std::vector< TableLock > &table_locks)
 
static void getTableLocks (const Catalog_Namespace::Catalog &cat, const std::string &query_ra, std::vector< TableLock > &table_locks)
 
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)
 

Private Member Functions

 TableLockMgr ()
 

Additional Inherited Members

- Public Member Functions inherited from Lock_Namespace::TableLockMgrImpl< TableLockMgr >
MutexTypegetTableMutex (const ChunkKey table_key)
 
- Protected Member Functions inherited from Lock_Namespace::TableLockMgrImpl< TableLockMgr >
 TableLockMgrImpl ()
 
- Protected Attributes inherited from Lock_Namespace::TableLockMgrImpl< TableLockMgr >
std::mutex map_mutex_
 
std::map< ChunkKey, MutexTypetable_mutex_map_
 

Detailed Description

Definition at line 111 of file TableLockMgr.h.

Constructor & Destructor Documentation

Lock_Namespace::TableLockMgr::TableLockMgr ( )
inlineprivate

Definition at line 119 of file TableLockMgr.h.

119 {}

Member Function Documentation

static TableLockMgr& Lock_Namespace::TableLockMgr::instance ( )
inlinestatic

Definition at line 113 of file TableLockMgr.h.

113  {
114  static TableLockMgr table_lock_mgr;
115  return table_lock_mgr;
116  }

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