Class lockmgr::InsertDataLockMgr

class InsertDataLockMgr : public lockmgr::TableLockMgrImpl<InsertDataLockMgr>

Prevents simultaneous inserts into the same table. To allow concurrent Insert/Select queries, Insert queries only obtain a write lock on table data when checkpointing (flushing chunks to disk). Inserts/Data load will take an exclusive (write) lock to ensure only one insert proceeds on each table at a time.

Public Static Functions

static InsertDataLockMgr &instance()

Protected Functions

InsertDataLockMgr()