Definition at line 23 of file LockingQueue.cs.
Deveel.Data.Transactions.LockingQueue.LockingQueue |
( |
ILockable |
lockable | ) |
|
|
inlinepackage |
void Deveel.Data.Transactions.LockingQueue.Acquire |
( |
Lock @ |
lock | ) |
|
|
inline |
void Deveel.Data.Transactions.LockingQueue.CheckAccess |
( |
Lock @ |
lock | ) |
|
|
inlinepackage |
Definition at line 55 of file LockingQueue.cs.
58 if (!
locks.Contains(@lock))
59 throw new InvalidOperationException(
"Queue does not contain the given Lock");
68 index =
locks.IndexOf(@lock);
71 for (i = index - 1; i >= 0 && !blocked; --i) {
72 var testLock =
locks[i];
85 index =
locks.IndexOf(@lock);
readonly List< Lock > locks
void Deveel.Data.Transactions.LockingQueue.Release |
( |
Lock @ |
lock | ) |
|
|
inline |
Definition at line 47 of file LockingQueue.cs.
51 Monitor.PulseAll(
this);
void Released(Lock @lock)
readonly List< Lock > locks
readonly List<Lock> Deveel.Data.Transactions.LockingQueue.locks |
|
private |
bool Deveel.Data.Transactions.LockingQueue.IsEmpty |
|
get |
ILockable Deveel.Data.Transactions.LockingQueue.Lockable |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Transactions/LockingQueue.cs