Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
Namespace:
NHibernate.CacheAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Release ( _ key As CacheKey, _ lock As ISoftLock _ ) |
C# |
---|
void Release( CacheKey key, ISoftLock lock ) |
Visual C++ |
---|
void Release( CacheKey^ key, ISoftLock^ lock ) |
JavaScript |
---|
function release(key, lock); |
Parameters
- key
- Type: NHibernate.Cache..::.CacheKey
The key
- lock
- Type: NHibernate.Cache..::.ISoftLock
The soft lock
Remarks
This method is used by "asynchronous" concurrency strategies.
Exceptions
Exception | Condition |
---|---|
NHibernate.Cache..::.CacheException |