CacheKey key |
|
object value |
|
object version |
CacheKey key |
|
object value |
|
object version |
return bool |
|
object obj |
CacheKey key |
Note that since reading an item from that cache does not actually go to the database, it is possible to see a kind of phantom read due to the underlying row being updated after we have read it from the cache. This would not be possible in a lock-based implementation of repeatable read isolation. It is also possible to overwrite changes made and committed by another transaction after the current transaction read the item from the cache. This problem would be caught by the update-time version-checking, if the data is versioned or timestamped.
return object |
|
CacheKey key |
|
long txTimestamp |
return int |
return Type |
CacheKey key |
|
object value |
return ISoftLock |
|
CacheKey key |
|
object version |
return bool |
Whether the item was actually put into the cache |
CacheKey key |
|
object value |
|
long txTimestamp |
|
object version |
|
IComparer versionComparator |
|
bool minimalPut |
CacheKey key |
return string |
CacheKey key |
|
object value |
return ICache
|
return string
|