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