LockManager Methods
Include Protected Members
Include Inherited Members
The LockManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
AssertLockHeld(Object, LockManager.LockType, Int64) | Assert that the given lock is held by the current thread (debug assert). | |
AssertLockHeld(ILockName, LockManager.LockType, Int64) | Assert that the given lock is held by the current thread (debug assert). | |
AssertLockNotHeld(Object, LockManager.LockType, Int64) | Assert that the given lock is not held by the current thread (debug assert). | |
AssertLockNotHeld(ILockName, LockManager.LockType, Int64) | Assert that the given lock is not held by the current thread (debug assert). | |
AssertNoLocksHeld(Int64) | Assert that the current thread holds no LockManager locks. | |
AssertNoLocksHeld(LockManager.LockType, Int64) | Assert that the given lock is not held by the current thread (debug assert). | |
AssertZeroActiveLockObjects | Asserts iff there are active locks in the lock manager (where refcount > 0) | |
CompareLockTypes | Compares two lock types (throws if lock types are not comparable). | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLock(Object, LockManager.LockType, Int64) | Get a lock. | |
GetLock(ILockName, LockManager.LockType, Int64) | Get a named lock. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasLocks | Returns true if this requestId owns any locks | |
Lock(Object, Int64) | Get a leaf monitor lock for a given object. | |
Lock(Object, LockManager.LockType, Int64) | Get an object monitor lock. | |
Lock(ILockName, LockManager.LockType, Int64) | Get a named lock. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReleaseAnyLock | Release the most nested lock of a given lock type and any name. | |
ReleaseLock(Object, LockManager.LockType, Int64) | Release a lock. | |
ReleaseLock(ILockName, LockManager.LockType, Int64) | Release a named lock. | |
TestLock(Object, LockManager.LockType, Int64) | Test if this thread already holds a lock. | |
TestLock(String, LockManager.LockType, Int64) | Test if this thread already holds a lock. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetLock(Object, LockManager.LockType, Int64) | Try to get a lock. | |
TryGetLock(ILockName, LockManager.LockType, Int64, Int32) | Get a named lock |
Top