|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.core.MethodPollingExecStrategyBase
public abstract class MethodPollingExecStrategyBase
Viewable providing historical data from a database.
Field Summary | |
---|---|
protected EventAdapterService |
eventAdapterService
|
protected EventType |
eventType
|
protected java.lang.Object |
invocationTarget
|
protected net.sf.cglib.reflect.FastMethod |
method
|
protected MethodPollingExecStrategyEnum |
strategy
|
protected java.lang.String |
variableName
|
protected VariableReader |
variableReader
|
protected VariableService |
variableService
|
Constructor Summary | |
---|---|
MethodPollingExecStrategyBase(EventAdapterService eventAdapterService,
net.sf.cglib.reflect.FastMethod method,
EventType eventType,
java.lang.Object invocationTarget,
MethodPollingExecStrategyEnum strategy,
VariableReader variableReader,
java.lang.String variableName,
VariableService variableService)
|
Method Summary | |
---|---|
protected boolean |
checkNonNullArrayValue(java.lang.Object value)
|
void |
destroy()
Indicate we are no going to use this object again. |
void |
done()
Indicate we are done polling and can release resources. |
protected abstract java.util.List<EventBean> |
handleResult(java.lang.Object invocationResult)
|
java.util.List<EventBean> |
poll(java.lang.Object[] lookupValues,
ExprEvaluatorContext exprEvaluatorContext)
Poll events using the keys provided. |
void |
start()
Start the poll, called before any poll operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final EventAdapterService eventAdapterService
protected final net.sf.cglib.reflect.FastMethod method
protected final EventType eventType
protected final java.lang.Object invocationTarget
protected final MethodPollingExecStrategyEnum strategy
protected final VariableReader variableReader
protected final java.lang.String variableName
protected final VariableService variableService
Constructor Detail |
---|
public MethodPollingExecStrategyBase(EventAdapterService eventAdapterService, net.sf.cglib.reflect.FastMethod method, EventType eventType, java.lang.Object invocationTarget, MethodPollingExecStrategyEnum strategy, VariableReader variableReader, java.lang.String variableName, VariableService variableService)
Method Detail |
---|
protected abstract java.util.List<EventBean> handleResult(java.lang.Object invocationResult)
protected boolean checkNonNullArrayValue(java.lang.Object value)
public void start()
PollExecStrategy
start
in interface PollExecStrategy
public void done()
PollExecStrategy
done
in interface PollExecStrategy
public void destroy()
PollExecStrategy
destroy
in interface PollExecStrategy
public java.util.List<EventBean> poll(java.lang.Object[] lookupValues, ExprEvaluatorContext exprEvaluatorContext)
PollExecStrategy
poll
in interface PollExecStrategy
lookupValues
- is keys for exeuting a query or such
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |