public class PollExecStrategyMethod extends Object implements PollExecStrategy
Constructor and Description |
---|
PollExecStrategyMethod(MethodTargetStrategy methodTargetStrategy,
MethodConversionStrategy methodConversionStrategy) |
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,
AgentInstanceContext agentInstanceContext)
Poll events using the keys provided.
|
void |
start()
Start the poll, called before any poll operation.
|
public PollExecStrategyMethod(MethodTargetStrategy methodTargetStrategy, MethodConversionStrategy methodConversionStrategy)
public void start()
PollExecStrategy
start
in interface PollExecStrategy
public List<EventBean> poll(Object lookupValues, AgentInstanceContext agentInstanceContext)
PollExecStrategy
poll
in interface PollExecStrategy
lookupValues
- is keys for exeuting a query or suchagentInstanceContext
- contextpublic void done()
PollExecStrategy
done
in interface PollExecStrategy
public void destroy()
PollExecStrategy
destroy
in interface PollExecStrategy
Copyright © 2005–2018. All rights reserved.