Implementors define a caching algorithm.

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

Syntax

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

Remarks

Thread Safety

Instance members of this type are safe for multi-threaded operations.

All implementations must be threadsafe.

The key is the identifier of the object that is being cached and the value is a CachedItem.

See Also