The ICacheConcurrencyStrategy type exposes the following members.

Methods

  NameDescription
AfterInsert
Called after an item has been inserted (after the transaction completes), instead of calling release().
AfterUpdate
Called after an item has been updated (after the transaction completes), instead of calling Release().
Clear
Evict all items from the cache immediately.
Destroy
Clean up all resources.
Evict
Called after an item has become stale (before the transaction completes).
Get
Attempt to retrieve an object from the Cache
Insert
Called after an item has been inserted (before the transaction completes), instead of calling Evict().
Lock
We are going to attempt to update/delete the keyed object
Put
Attempt to cache an object, after loading from the database
Release
Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.
Remove
Evict an item from the cache immediately (without regard for transaction isolation).
Update
Called after an item has been updated (before the transaction completes), instead of calling Evict().

See Also