The ReadWriteCache type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReadWriteCache | Initializes a new instance of the ReadWriteCache class |
Methods
Name | Description | |
---|---|---|
AfterInsert | ||
AfterUpdate |
Re-cache the updated state, if and only if there there are
no other concurrent soft locks. Release our lock.
| |
Clear | ||
Destroy | ||
Equals | (Inherited from Object.) | |
Evict | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get |
Do not return an item whose timestamp is later than the current
transaction timestamp. (Otherwise we might compromise repeatable
read unnecessarily.) Do not return an item which is soft-locked.
Always go straight to the database instead.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Insert | ||
Lock |
Stop any other transactions reading or writing this item to/from
the cache. Send them straight to the database instead. (The lock
does time out eventually.) This implementation tracks concurrent
locks by transactions which simultaneously attempt to write to an
item.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Put |
Do not add an item to the cache unless the current transaction
timestamp is later than the timestamp at which the item was
invalidated. (Otherwise, a stale item might be re-added if the
database is operating in repeatable read isolation mode.)
| |
Release | ||
Remove | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update |
Extension Methods
Name | Description | |
---|---|---|
As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsProxy | (Defined by NHibernateProxyHelper.) | |
ToTypeParameters | (Defined by ReflectHelper.) |
Properties
Name | Description | |
---|---|---|
Cache | ||
RegionName |
Gets the cache region name.
|