Implementors manage transactional access to cached data.

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

Syntax

Visual Basic (Declaration)
Public Interface ICacheConcurrencyStrategy
C#
public interface ICacheConcurrencyStrategy
Visual C++
public interface class ICacheConcurrencyStrategy
JavaScript
NHibernate.Cache.ICacheConcurrencyStrategy = function();
NHibernate.Cache.ICacheConcurrencyStrategy.createInterface('NHibernate.Cache.ICacheConcurrencyStrategy');

Remarks

Transactions pass in a timestamp indicating transaction start time.

When used to cache entities and collections the key is the identifier of the entity/collection and the value should be set to the CacheEntry for an entity and the results of Disassemble(ICollectionPersister) for a collection.

See Also