Class lockmgr::TableDataLockMgr

class TableDataLockMgr : public lockmgr::TableLockMgrImpl<TableDataLockMgr>

Locks protecting table data. Read queries take a read lock, while write queries (update, delete) obtain a write lock. Note that insert queries do not currently take a write lock (to allow concurrent inserts). Instead, insert queries obtain a write lock on the table metadata to allow existing read queries to finish (and block new ones) before flushing the inserted data to disk.

Public Static Functions

static TableDataLockMgr &instance()

Protected Functions

TableDataLockMgr()