Class NotifyExtensibleDependency
NotifyExtensibleDependency is for notification based dependencies in NCache.
Inherited Members
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public abstract class NotifyExtensibleDependency : ExtensibleDependency, IDisposable, IBinaryProtocolSerializable, ISerializableExtensibleDependency
Fields
DependencyChanged
This is used to register the event of dependency change, and will remove dependent items from cache.
Declaration
public NotifyExtensibleDependency.DependencyChangedHandler DependencyChanged
Field Value
Type | Description |
---|---|
NotifyExtensibleDependency.DependencyChangedHandler | This delegate invokes when a dependency changes. It calls the code of Custom Dependency to notify the cache that the dependency has triggered. |
Properties
HasChanged
This property is used to determine whether dependency has been triggered or not by checking the data.
Declaration
public override sealed bool HasChanged { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag to show if the dependency has been triggered or not. |