NamedCacheObjExpiredEventArgs Class

ScaleOut Software NamedCache API
An EventArgs subclass that contains information specific to event handlers handling cached object expiration events.
Inheritance Hierarchy


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

public class NamedCacheObjExpiredEventArgs : EventArgs

The NamedCacheObjExpiredEventArgs type exposes the following members.


Public propertyAppId
Gets the Application ID corresponding to the affected cached object.
Public propertyCachedObjectId
Returns the CachedObjectId of the expiring object.
Public propertyKey
Returns the StateServerKey structure used by StateServer to identify the expiring cached object.
Public propertyNamedCache
Returns a NamedCache instance that can be used to manipulate the expiring cached object.
Public propertyNamedCacheEventCode
Returns the reason the event was fired.
Public propertyNamedCacheObjDisposition
Gets or sets a value indicating what the cache should do with the object after the event handler runs.

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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Object expiration event handlers may indicate to the shared cache that an expired object should not be deleted by setting ObjectDisposition to Save.
See Also