Compartir a través de


ObjectCacheManager Class

 

Applies To: Dynamics CRM 2013

Object cache manager. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Caching
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Client.Caching.ObjectCacheManager

Syntax

public static class ObjectCacheManager
[ExtensionAttribute]
public ref class ObjectCacheManager abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ObjectCacheManager = class end
<ExtensionAttribute>
Public NotInheritable Class ObjectCacheManager

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Clear(ObjectCache)

Removes all items from the cache.

System_CAPS_pubmethodSystem_CAPS_static Get<T>(ObjectCache, String, Func<ObjectCache, T>, Action<ObjectCache, T>, String)

System_CAPS_pubmethodSystem_CAPS_static Get<T>(ObjectCache, String, Func<ObjectCache, T>, Func<CacheItemPolicy>, String)

System_CAPS_pubmethodSystem_CAPS_static Get<T>(String, Func<ObjectCache, T>, Action<ObjectCache, T>, String)

System_CAPS_pubmethodSystem_CAPS_static Get<T>(String, Func<ObjectCache, T>, Func<CacheItemPolicy>, String)

System_CAPS_pubmethodSystem_CAPS_static Get<T>(String, String, Func<ObjectCache, T>, Action<ObjectCache, T>, String)

System_CAPS_pubmethodSystem_CAPS_static Get<T>(String, String, Func<ObjectCache, T>, Func<CacheItemPolicy>, String)

System_CAPS_pubmethodSystem_CAPS_static GetCacheItemDetail(ObjectCache, String, String)

Retrieves the associated CacheItemDetail for a cache item.

System_CAPS_pubmethodSystem_CAPS_static GetCacheItemPolicy(ChangeMonitor, String)

Builds a CacheItemPolicy from a configuration element and adds a single ChangeMonitor to the policy..

System_CAPS_pubmethodSystem_CAPS_static GetCacheItemPolicy(IEnumerable<String>, String, String)

Builds a CacheItemPolicy from a configuration element.

System_CAPS_pubmethodSystem_CAPS_static GetCacheItemPolicy(ObjectCache, IEnumerable<String>, String, String)

Builds a CacheItemPolicy from a configuration element and adds a set of CacheEntryChangeMonitor objects to the policy.

System_CAPS_pubmethodSystem_CAPS_static GetCacheItemPolicy(String)

Builds a CacheItemPolicy from a configuration element.

System_CAPS_pubmethodSystem_CAPS_static GetChangeMonitor(ObjectCache, IEnumerable<String>, String)

Builds a CacheEntryChangeMonitor from a set of cache keys.

System_CAPS_pubmethodSystem_CAPS_static GetInstance(String)

Retrieves a configured ObjectCache.

System_CAPS_pubmethodSystem_CAPS_static Insert(ObjectCache, String, Object, CacheItemPolicy, String)

Inserts an object into cache along with an associated CacheItemDetail.

System_CAPS_pubmethodSystem_CAPS_static Insert(ObjectCache, String, Object, IEnumerable<String>, String)

Inserts an object into cache along with an associated CacheItemDetail.

System_CAPS_pubmethodSystem_CAPS_static RemoveAll(ObjectCache, String)

Removes all items from the cache by invoking the IExtendedObjectCache if it is available.

System_CAPS_pubmethodSystem_CAPS_static Reset()

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client.Caching Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top