java.lang.Object | |
↳ | org.hibernate.cache.NonstrictReadWriteCache |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Do nothing.
| |||||||||||
Invalidate the item (again, for safety).
| |||||||||||
Evict all items from the cache immediately.
| |||||||||||
Clean up all resources.
| |||||||||||
Invalidate the item
| |||||||||||
Get the most recent version, if available.
| |||||||||||
Get the wrapped cache implementation
| |||||||||||
Get the cache region name
| |||||||||||
Invalidate the item
| |||||||||||
Do nothing.
| |||||||||||
Add an item to the cache.
| |||||||||||
Invalidate the item (again, for safety).
| |||||||||||
Evict an item from the cache immediately (without regard for transaction
isolation).
| |||||||||||
Set the underlying cache implementation.
| |||||||||||
Do nothing.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.cache.CacheConcurrencyStrategy
|
Do nothing.
CacheException |
---|
Invalidate the item (again, for safety).
CacheException |
---|
Clean up all resources.
Get the most recent version, if available.
txTimestamp | a timestamp prior to the transaction start time |
---|
CacheException |
---|
Add an item to the cache.
txTimestamp | a timestamp prior to the transaction start time |
---|---|
version | the item version number |
versionComparator | a comparator used to compare version numbers |
minimalPut | indicates that the cache should avoid a put is the item is already cached |
CacheException |
---|
Invalidate the item (again, for safety).
CacheException |
---|
Evict an item from the cache immediately (without regard for transaction isolation).
CacheException |
---|
Do nothing.