public LatchKey IssueKey(Transaction transaction, LatchMode mode) { var key = new LatchKey(this, transaction, mode); Keys.Add(key); return(key); }
public void Remove(LatchKey key) { Catalog.Remove(key); }
public void Add(LatchKey key) { Catalog.Add(key); }
/// <summary> /// Adds a key to the transaction for an outstanding latch. /// </summary> /// <param name="latchKey"></param> public void AddLatchKey(LatchKey latchKey) { _latchKeys.Add(latchKey); }
public void TurnInKey(LatchKey key) { Keys.Remove(key); }