Class SimplePollSkipStrategy
java.lang.Object
org.springframework.integration.scheduling.SimplePollSkipStrategy
- All Implemented Interfaces:
- PollSkipStrategy
A simple 
PollSkipStrategy to be used with a PollSkipAdvice.
 Invoke skipPolls() to start skipping polls; invoke reset()
 to resume polling.- Since:
- 4.2.5
- Author:
- Gary Russell
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SimplePollSkipStrategypublic SimplePollSkipStrategy()
 
- 
- 
Method Details- 
skipPollpublic boolean skipPoll()Description copied from interface:PollSkipStrategyReturn true if this poll should be skipped.- Specified by:
- skipPollin interface- PollSkipStrategy
- Returns:
- true to skip.
 
- 
skipPollsSkip future polls.
- 
resetResume polling at the nextTriggerevent.
 
-