public interface PollExecStrategy
Lifecycle methods are for managing connection resources.
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Indicate we are no going to use this object again.
|
void |
done()
Indicate we are done polling and can release resources.
|
List<EventBean> |
poll(Object[] lookupValues,
ExprEvaluatorContext exprEvaluatorContext)
Poll events using the keys provided.
|
void |
start()
Start the poll, called before any poll operation.
|
void start()
List<EventBean> poll(Object[] lookupValues, ExprEvaluatorContext exprEvaluatorContext)
lookupValues
- is keys for exeuting a query or suchexprEvaluatorContext
- contextvoid done()
void destroy()