|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PollExecStrategy
Interface for polling data from a data source such as a relational database.
Lifecycle methods are for managing connection resources.
Method Summary | |
---|---|
void |
destroy()
Indicate we are no going to use this object again. |
void |
done()
Indicate we are done polling and can release resources. |
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. |
Method Detail |
---|
void start()
java.util.List<EventBean> poll(java.lang.Object[] lookupValues, ExprEvaluatorContext exprEvaluatorContext)
lookupValues
- is keys for exeuting a query or suchexprEvaluatorContext
-
void done()
void destroy()
|
© 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 |