com.espertech.esper.core.service
Class ResultDeliveryStrategyTypeArr

java.lang.Object
  extended by com.espertech.esper.core.service.ResultDeliveryStrategyTypeArr
All Implemented Interfaces:
ResultDeliveryStrategy
Direct Known Subclasses:
ResultDeliveryStrategyTypeArrWStmt

public class ResultDeliveryStrategyTypeArr
extends java.lang.Object
implements ResultDeliveryStrategy

A result delivery strategy that uses an "update" method that accepts a underlying array for use in wildcard selection.


Field Summary
protected  java.lang.Class componentType
           
protected  net.sf.cglib.reflect.FastMethod fastMethod
           
protected  EPStatement statement
           
protected  java.lang.Object subscriber
           
 
Constructor Summary
ResultDeliveryStrategyTypeArr(EPStatement statement, java.lang.Object subscriber, java.lang.reflect.Method method, java.lang.Class componentType)
          Ctor.
 
Method Summary
protected  java.lang.Object convert(EventBean[] events)
           
 void execute(UniformPair<EventBean[]> result)
          Execute the dispatch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statement

protected final EPStatement statement

subscriber

protected final java.lang.Object subscriber

fastMethod

protected final net.sf.cglib.reflect.FastMethod fastMethod

componentType

protected final java.lang.Class componentType
Constructor Detail

ResultDeliveryStrategyTypeArr

public ResultDeliveryStrategyTypeArr(EPStatement statement,
                                     java.lang.Object subscriber,
                                     java.lang.reflect.Method method,
                                     java.lang.Class componentType)
Ctor.

Parameters:
subscriber - is the receiver to method invocations
method - is the method to deliver to
Method Detail

execute

public void execute(UniformPair<EventBean[]> result)
Description copied from interface: ResultDeliveryStrategy
Execute the dispatch.

Specified by:
execute in interface ResultDeliveryStrategy
Parameters:
result - is the insert and remove stream to indicate

convert

protected java.lang.Object convert(EventBean[] events)

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com