If this is a clustered cache, lock the item

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

Syntax

C#
void Lock(
	Object key
)
Visual Basic
Sub Lock ( _
	key As Object _
)
Visual C++
void Lock(
	Object^ key
)

Parameters

key
Type: System..::..Object
The Key of the Item in the Cache to lock.

Exceptions

See Also