@ManagedResource public class SimplePollSkipStrategy extends Object implements PollSkipStrategy
PollSkipStrategy to be used with a PollSkipAdvice.
Invoke skipPolls() to start skipping polls; invoke reset()
to resume polling.| Constructor and Description |
|---|
SimplePollSkipStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Resume polling at the next
Trigger event. |
boolean |
skipPoll()
Return true if this poll should be skipped.
|
void |
skipPolls()
Skip future polls.
|
public boolean skipPoll()
PollSkipStrategyskipPoll in interface PollSkipStrategy@ManagedOperation public void skipPolls()
@ManagedOperation public void reset()
Trigger event.