Class VirtualDataWindowEventConsumerAdd


public class VirtualDataWindowEventConsumerAdd extends VirtualDataWindowEventConsumerBase
Event indicating a named-window consuming statement is being added.
  • Constructor Details

    • VirtualDataWindowEventConsumerAdd

      public VirtualDataWindowEventConsumerAdd(String namedWindowName, Object consumerObject, String statementName, int agentInstanceId, ExprEvaluator filter, ExprEvaluatorContext exprEvaluatorContext)
      Ctor.
      Parameters:
      namedWindowName - the named window name
      consumerObject - an object that identifies the consumer, the same instance or the add and for the remove event
      statementName - statement name
      agentInstanceId - agent instance id
      filter - filter expressions
      exprEvaluatorContext - for expression evaluation
  • Method Details

    • getFilter

      public ExprEvaluator getFilter()
      Provides the filter expressions.

      Evaluate filter expressions, if any, as follows: Boolean pass = filter[...].getExprEvaluator().evaluate(new EventBean[] {vdwEvent}, true, addEvent.getExprEvaluatorContext());

      Filter expressions must be evaluated using the same ExprEvaluatorContext instance as provided by this event.

      Returns:
      filter expression list
    • getExprEvaluatorContext

      public ExprEvaluatorContext getExprEvaluatorContext()
      Returns the expression evaluator context for evaluating filter expressions.
      Returns:
      expression evaluator context