NamedCacheAsyncNamedCacheDataAccessor Class

ScaleOut Software NamedCache API
A NamedCacheDataAccessor subclass that does not allow itself to be cached in a thread-local cache to manage object locking behavior.
Inheritance Hierarchy

SystemObject
  DataAccessor
    NamedCacheDataAccessor
      Soss.ClientNamedCacheAsyncNamedCacheDataAccessor

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.1.0.0
Syntax

protected class AsyncNamedCacheDataAccessor : NamedCacheDataAccessor

The NamedCacheAsyncNamedCacheDataAccessor type exposes the following members.

Constructors

  NameDescription
Public methodNamedCacheAsyncNamedCacheDataAccessor
Creates a new NamedCacheAsyncNamedCacheDataAccessor instance with the supplied id and serializationCallbacks.
Top
Methods

  NameDescription
Public methodAcquireOrUpdateLock
Overrides the AcquireOrUpdateLock(Boolean) implementation of this method by throwing a InvalidOperationException.
(Overrides DataAccessor.AcquireOrUpdateLock(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnLocked
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.)
Protected methodOnLockRefreshed
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.)
Protected methodOnUnlocked
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.)
Public methodReleaseLock
Overrides the ReleaseLock implementation of this method by throwing an InvalidOperationException.
(Overrides DataAccessor.ReleaseLock.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference