Re-cache the updated state, if and only if there there are no other concurrent soft locks. Release our lock.

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

Syntax

C#
public bool AfterUpdate(
	CacheKey key,
	Object value,
	Object version,
	ISoftLock clientLock
)
Visual Basic
Public Function AfterUpdate ( _
	key As CacheKey, _
	value As Object, _
	version As Object, _
	clientLock As ISoftLock _
) As Boolean
Visual C++
public:
virtual bool AfterUpdate(
	CacheKey^ key, 
	Object^ value, 
	Object^ version, 
	ISoftLock^ clientLock
) sealed

Parameters

key
Type: NHibernate.Cache..::..CacheKey

[Missing <param name="key"/> documentation for "M:NHibernate.Cache.ReadWriteCache.AfterUpdate(NHibernate.Cache.CacheKey,System.Object,System.Object,NHibernate.Cache.Access.ISoftLock)"]

value
Type: System..::..Object

[Missing <param name="value"/> documentation for "M:NHibernate.Cache.ReadWriteCache.AfterUpdate(NHibernate.Cache.CacheKey,System.Object,System.Object,NHibernate.Cache.Access.ISoftLock)"]

version
Type: System..::..Object

[Missing <param name="version"/> documentation for "M:NHibernate.Cache.ReadWriteCache.AfterUpdate(NHibernate.Cache.CacheKey,System.Object,System.Object,NHibernate.Cache.Access.ISoftLock)"]

clientLock
Type: NHibernate.Cache.Access..::..ISoftLock

[Missing <param name="clientLock"/> documentation for "M:NHibernate.Cache.ReadWriteCache.AfterUpdate(NHibernate.Cache.CacheKey,System.Object,System.Object,NHibernate.Cache.Access.ISoftLock)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Cache.ReadWriteCache.AfterUpdate(NHibernate.Cache.CacheKey,System.Object,System.Object,NHibernate.Cache.Access.ISoftLock)"]

Implements

ICacheConcurrencyStrategy..::..AfterUpdate(CacheKey, Object, Object, ISoftLock)

See Also