public interface ISpoutWaitStrategy
The strategy a spout needs to use when its waiting. Waiting is triggered in one of two conditions:
nextTuple()
emits no tuplesThe default strategy sleeps for one millisecond.
Modifier and Type | Method and Description |
---|---|
void |
emptyEmit(long streak) |
void |
prepare(Map conf) |
void prepare(Map conf)
void emptyEmit(long streak)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.