Show / Hide Table of Contents

Class ContinuousQueryCache.EventDispatcher

Daemon used to dispatch asynchronous CacheEventArgss.

Inheritance
object
Daemon
QueueProcessor
ContinuousQueryCache.EventDispatcher
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
QueueProcessor.Queue

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
Daemon.OnException(Exception)

OnExit()

Event notification called right before the daemon thread terminates.

Declaration
protected override void OnExit()
Overrides
Daemon.OnExit()
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
Daemon.OnNotify()
Remarks

To get it called, another thread has to set IsNotification to true: daemon.IsNotification = true;

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.