A soft lock which supports concurrent locking, timestamped with the time it was released

Namespace:  NHibernate.Cache
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class CacheLock _
	Implements ILockable, ISoftLock
C#
[SerializableAttribute]
public class CacheLock : ILockable, ISoftLock
Visual C++
[SerializableAttribute]
public ref class CacheLock : ILockable, 
	ISoftLock
JavaScript
NHibernate.Cache.CacheLock = function();

Type.createClass(
	'NHibernate.Cache.CacheLock',
	null,
	NHibernate.Cache.ILockable,
	NHibernate.Cache.ISoftLock);

Remarks

This class was named Lock in H2.1

Inheritance Hierarchy

System..::.Object
  NHibernate.Cache..::.CacheLock

See Also