Class ContinuousQueryCache.EventDispatcher
Daemon used to dispatch asynchronous CacheEventArgss.
Inherited Members
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
public class ContinuousQueryCache.EventDispatcher : QueueProcessor
Constructors
EventDispatcher()
Default constructor.
Declaration
public EventDispatcher()
Properties
ContinuousQueryCache
Parent ContinuousQueryCache.
Declaration
public virtual ContinuousQueryCache ContinuousQueryCache { get; set; }
Property Value
Type | Description |
---|---|
ContinuousQueryCache | Parent ContinuousQueryCache. |
Queue
This is the Queue to which items that need to be processed are added, and from which the daemon pulls items to process.
Declaration
public override Queue Queue { get; set; }
Property Value
Type | Description |
---|---|
Queue |
Overrides
Methods
OnException(Exception)
This event occurs when an exception is thrown from OnEnter, OnWait, OnNotify and OnExit.
Declaration
protected override void OnException(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | Exception that has occured. |
Overrides
OnExit()
Event notification called right before the daemon thread terminates.
Declaration
protected override void OnExit()
Overrides
Remarks
This method is guaranteed to be called only once and on the daemon's thread.
OnNotify()
Event notification to perform a regular daemon activity.
Declaration
protected override void OnNotify()
Overrides
Remarks
To get it called, another thread has to set IsNotification to
true:
daemon.IsNotification = true;