A NamedCacheDataAccessor subclass that does not allow itself to be cached
in a thread-local cache to manage object locking behavior.
Inheritance Hierarchy
DataAccessor
NamedCacheDataAccessor
Soss.ClientNamedCacheAsyncNamedCacheDataAccessor
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
The NamedCacheAsyncNamedCacheDataAccessor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NamedCacheAsyncNamedCacheDataAccessor |
Creates a new NamedCacheAsyncNamedCacheDataAccessor instance with the supplied
id and serializationCallbacks.
|
Methods
Name | Description | |
---|---|---|
AcquireOrUpdateLock |
Overrides the AcquireOrUpdateLock(Boolean) implementation of
this method by throwing a InvalidOperationException.
(Overrides DataAccessor.AcquireOrUpdateLock(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnLocked |
Overrides the NamedCacheDataAccessor implementation of this method
with a nop implementation which precludes this NamedCacheAsyncNamedCacheDataAccessor from participating in the thread-based object
locking strategy employed by NamedCacheDataAccessor.
(Overrides NamedCacheDataAccessor.OnLocked.) | |
OnLockRefreshed |
Overrides the NamedCacheDataAccessor implementation of this method
with a nop implementation which precludes this NamedCacheAsyncNamedCacheDataAccessor from participating in the thread-based object
locking strategy employed by NamedCacheDataAccessor.
(Overrides NamedCacheDataAccessor.OnLockRefreshed.) | |
OnUnlocked |
Overrides the NamedCacheDataAccessor implementation of this method
with a nop implementation which precludes this NamedCacheAsyncNamedCacheDataAccessor from participating in the thread-based object
locking strategy employed by NamedCacheDataAccessor.
(Overrides NamedCacheDataAccessor.OnUnlocked.) | |
ReleaseLock |
Overrides the ReleaseLock implementation of this method
by throwing an InvalidOperationException.
(Overrides DataAccessor.ReleaseLock.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also