|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PollingConsumerPollingStrategy
Strategy that allows Consumer
s to influence the PollingConsumer
.
PollingConsumer
.
EventDrivenPollingConsumer
Method Summary | |
---|---|
void |
afterPoll()
Callback invoked after the poll. |
long |
beforePoll(long timeout)
Callback invoked before the poll. |
void |
onInit()
Callback invoked when the consumer is initialized such as when the PollingConsumer starts. |
Method Detail |
---|
void onInit() throws Exception
PollingConsumer
starts.
Exception
- can be thrown if error initializing.long beforePoll(long timeout) throws Exception
timeout
- the timeout
Exception
- can be thrown if error occurredvoid afterPoll() throws Exception
Exception
- can be thrown if error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |