Share via


DataCacheFactory Members

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Provides methods to return DataCache objects that are mapped to a named cache. This class also enables programmatic configuration of the cache client.

The following tables list the members exposed by the DataCacheFactory type.

Public Constructors

  Name Description
Public method DataCacheFactory Overloaded. Used for configuring the type of cache client that is returned by the GetCache method.

Top

Public Properties

  Name Description
Public property Dd631097.static(en-us,SQL.100).gif Timeout The duration of time, in milliseconds, that the cache client will wait to communicate with the cache cluster before it throws a timeout exception.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Dd631097.static(en-us,SQL.100).gif CreateLogSinks Allows you to set the log levels on one or more log sinks for the cache client.
Public method Dd631097.static(en-us,SQL.100).gif DisableLogSinks Disables all log sinks on the cache client.
Public method Dispose Closes the DataCacheFactory object and releases all associated resources.
Public method Dd631097.static(en-us,SQL.100).gif EnableAllAvailableSinks Enables all available log sinks on the cache client, with the EventTrace level equal to Warning.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetCache Returns the cache client, an instance of the DataCache object.
Public method GetDefaultCache Returns the cache client corresponding to the default cache; an instance of the DataCache object.
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Dd631097.static(en-us,SQL.100).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

DataCacheFactory Class
Microsoft.Data.Caching Namespace