Export (0) Print
Expand All

DataCache Members

The object that is used by cache-enabled applications for storing and retrieving objects from the cache cluster. An instance of this object is referred to as the cache client.

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

  Name Description
public property Item Allows for the use of array notation to access cached objects.
Top

(see also Protected Methods)
 NameDescription
public methodAddOverloaded. Adds an object to the cache.
public methodAddCacheLevelBulkCallbackAdds a bulk cache notification callback for cache operations occurring on all regions and items.
public methodAddCacheLevelCallbackAdds a cache notification callback for cache operations occurring on all regions and items.
public methodAddFailureNotificationCallbackAdds a failure notification callback, for notifications indicating that a client has missed one or more cache notifications.
public methodAddItemLevelCallbackOverloaded. Adds a cache notification callback for cache operations occurring on a specific item.
public methodAddRegionLevelCallbackAdds a cache notification callback for cache operations occurring on one specific region.
public methodBulkGetReturns objects for the specified keys from the specified region of the cache.
public methodClearRegionDeletes all objects in the specified region.
public methodCreateRegionCreates a region.
public methodEquals  Overloaded. (inherited from Object)
public methodGetOverloaded. Gets the object by using the specified key from the cache.
public methodGetAndLockOverloaded. Lock the key if key is present and it is not locked by any clients and returns the object corresponding to the key.
public methodGetCacheItemOverloaded. Gets a DataCacheItem object to retrieve all information associated with your cached object in the cluster.
public methodGetHashCode  (inherited from Object)
public methodGetIfNewerOverloaded. Gets an object from the cache, but only if a newer version of the object resides in the cache.
public methodGetObjectsByAllTagsGets an enumerable list of all cached objects in the specified region that have all the same tags in common.
public methodGetObjectsByAnyTagGets an enumerable list of all cached objects in the specified region that have any of the same tags in common.
public methodGetObjectsByTagGets an enumerable list of all cached objects in the specified region that have the specified tag.
public methodGetObjectsInRegionGets an enumerable list of all cached objects in the specified region.
public methodGetSystemRegionNameReturns the system region name for the specified key.
public methodGetSystemRegionsUsed to determine the default regions for the cache.
public methodGetType  (inherited from Object)
public methodPutOverloaded. Adds or replaces an object in the cache.
public methodPutAndUnlockOverloaded. Replaces and unlocks an object in the cache.
public methodstaticReferenceEquals  (inherited from Object)
public methodRemoveOverloaded. Removes an object from the cache.
public methodRemoveCallbackRemoves a cache notification callback.
public methodRemoveRegionDeletes a region. All cached objects inside the region are also removed.
public methodResetObjectTimeoutOverloaded. Resets the object timeout value, defining how long objects reside in the cache before expiring. The value specified for the object overrides the default settings for the cache.
public methodToString  (inherited from Object)
public methodUnlockOverloaded. Releases objects locked in the cache. This method supports pessimistic concurrency by making sure that the appropriate DataCacheLockHandle is used for unlocking the object.
Top

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
Top
  http://msdn.microsoft.com/en-us/library/microsoft.applicationserver.caching.aspx 2011-08-26
Show:
© 2014 Microsoft