DataCacheFactory ClassWindows Server AppFabric Caching Compatibility Library
Provides access to a collection of cached objects that is identified by a supplied cache name. The GetCache(String) method must be used to obtain an instance of the DataCache class. The DataCacheFactory's constructor that accepts DataCacheFactoryConfiguration as an argument is not supported. Please refer to ScaleOut documentation on how to configure ScaleOut StateServer.
Inheritance Hierarchy

SystemObject
  Soss.Compat.WSAFDataCacheFactory

Namespace: Soss.Compat.WSAF
Assembly: soss_wsaf_compat (in soss_wsaf_compat.dll) Version: 1.1.0.100 (1.1.0.100)
Syntax

public sealed class DataCacheFactory : IDisposable

The DataCacheFactory type exposes the following members.

Constructors

  NameDescription
Public methodDataCacheFactory
Public constructor that creates and initializes the DataCacheFactory class.
Public methodDataCacheFactory(DataCacheFactoryConfiguration) Obsolete.
Public constructor that creates and initializes the DataCacheFactory class.
Top
Methods

  NameDescription
Public methodDispose
Public implementation of Dispose pattern callable by consumers.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCache
Returns an instance of the DataCache object that represents the cache client.
Public methodGetDefaultCache
Returns an instance of the DataCache object for the default named cache.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyDefaultTTL
Default timeout for added objects via the DataCache class when the object timeout is not specified explicitly.
Top
See Also

Reference