Called after an item has become stale (before the transaction completes).
Namespace: NHibernate.CacheAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
void Evict( CacheKey key ) |
| Visual Basic |
|---|
Sub Evict ( _ key As CacheKey _ ) |
| Visual C++ |
|---|
void Evict( CacheKey^ key ) |
Parameters
- key
- Type: NHibernate.Cache..::..CacheKey
[Missing <param name="key"/> documentation for "M:NHibernate.Cache.ICacheConcurrencyStrategy.Evict(NHibernate.Cache.CacheKey)"]
Remarks
This method is used by "synchronous" concurrency strategies.
Exceptions
| Exception | Condition |
|---|---|
| NHibernate.Cache..::..CacheException |