Caches data that is sometimes updated without ever locking the cache.
If concurrent access to an item is possible, this concurrency strategy
makes no guarantee that the item returned from the cache is the latest
version available in the database. Configure your cache timeout accordingly!
This is an "asynchronous" concurrency strategy.
NHibernate.Cache.ReadWriteCache for a much stricter algorithm
The following tables list the members exposed by the NonstrictReadWriteCache type.
Public Methods
| Name | Description | |
|---|---|---|
| AfterInsert |
Do nothing
| |
| AfterUpdate |
Invalidate the item (again, for safety).
| |
| Clear | ||
| Destroy | ||
| Evict |
Invalidate the item
| |
| Get |
Get the most recent version, if available.
| |
| Insert |
Do nothing
| |
| Lock |
Do nothing
| |
| Put |
Add an item to the cache
| |
| Release |
Invalidate the item (again, for safety).
| |
| Remove | ||
| Update |
Invalidate the item
|
Public Constructors
| Name | Description | |
|---|---|---|
| NonstrictReadWriteCacheNew |
Public Properties
| Name | Description | |
|---|---|---|
| Cache | ||
| RegionName |
Gets the cache region name.
|