|
||||||||||
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 net.sf.cglib.reflect.FastMethod |
method
|
Constructor Summary | |
---|---|
MethodPollingExecStrategyBase(EventAdapterService eventAdapterService,
net.sf.cglib.reflect.FastMethod method,
EventType eventType)
|
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)
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
Constructor Detail |
---|
public MethodPollingExecStrategyBase(EventAdapterService eventAdapterService, net.sf.cglib.reflect.FastMethod method, EventType eventType)
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)
PollExecStrategy
poll
in interface PollExecStrategy
lookupValues
- is keys for exeuting a query or such
|
© 2006-2014 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 |