Called after an item has become stale (before the transaction completes).
Namespace:
NHibernate.CacheAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Evict ( _ key As CacheKey _ ) |
C# |
---|
void Evict( CacheKey key ) |
Visual C++ |
---|
void Evict( CacheKey^ key ) |
JavaScript |
---|
function evict(key); |
Parameters
- key
- Type: NHibernate.Cache..::.CacheKey
Remarks
This method is used by "synchronous" concurrency strategies.
Exceptions
Exception | Condition |
---|---|
NHibernate.Cache..::.CacheException |