The ICacheConcurrencyStrategy type exposes the following members.

Methods

  NameDescription
Public methodAfterInsert
Called after an item has been inserted (after the transaction completes), instead of calling release().
Public methodAfterUpdate
Called after an item has been updated (after the transaction completes), instead of calling Release().
Public methodClear
Evict all items from the cache immediately.
Public methodDestroy
Clean up all resources.
Public methodEvict
Called after an item has become stale (before the transaction completes).
Public methodGet
Attempt to retrieve an object from the Cache
Public methodInsert
Called after an item has been inserted (before the transaction completes), instead of calling Evict().
Public methodLock
We are going to attempt to update/delete the keyed object
Public methodPut
Attempt to cache an object, after loading from the database
Public methodRelease
Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.
Public methodRemove
Evict an item from the cache immediately (without regard for transaction isolation).
Public methodUpdate
Called after an item has been updated (before the transaction completes), instead of calling Evict().

Properties

  NameDescription
Public propertyCache
Gets or sets the ICache for this strategy to use.
Public propertyRegionName
Gets the cache region name.

See Also