The CacheLock type exposes the following members.

Constructors

  NameDescription
CacheLock

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsGettable
locks are not returned to the client!
IsPuttable
Can the timestamped transaction re-cache this locked item now?
Lock
Increment the lock, setting the new lock timeout
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString (Overrides Object..::.ToString()()().)
Unlock
Decrement the lock, setting the unlock timestamp if now unlocked

Properties

  NameDescription
Id
IsLock
Yes, this is a lock
WasLockedConcurrently
Was this lock held concurrently by multiple transactions?

See Also