Increment the lock, setting the new lock timeout

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

Syntax

C#
public CacheLock Lock(
	long timeout,
	int id
)
Visual Basic
Public Function Lock ( _
	timeout As Long, _
	id As Integer _
) As CacheLock
Visual C++
public:
virtual CacheLock^ Lock(
	long long timeout, 
	int id
) sealed

Parameters

timeout
Type: System..::..Int64

[Missing <param name="timeout"/> documentation for "M:NHibernate.Cache.CacheLock.Lock(System.Int64,System.Int32)"]

id
Type: System..::..Int32

[Missing <param name="id"/> documentation for "M:NHibernate.Cache.CacheLock.Lock(System.Int64,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Cache.CacheLock.Lock(System.Int64,System.Int32)"]

Implements

ReadWriteCache..::..ILockable..::..Lock(Int64, Int32)

See Also