Package org.apache.storm.trident.testing
Class FixedBatchSpout
java.lang.Object
org.apache.storm.trident.testing.FixedBatchSpout
- All Implemented Interfaces:
- Serializable,- IBatchSpout,- ITridentDataSource
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidack(long batchId) voidclose()voidemitBatch(long batchId, TridentCollector collector) voidopen(Map<String, Object> conf, TopologyContext context) voidsetCycle(boolean cycle) 
- 
Constructor Details- 
FixedBatchSpout
 
- 
- 
Method Details- 
setCyclepublic void setCycle(boolean cycle) 
- 
open- Specified by:
- openin interface- IBatchSpout
 
- 
emitBatch- Specified by:
- emitBatchin interface- IBatchSpout
 
- 
ackpublic void ack(long batchId) - Specified by:
- ackin interface- IBatchSpout
 
- 
closepublic void close()- Specified by:
- closein interface- IBatchSpout
 
- 
getComponentConfiguration- Specified by:
- getComponentConfigurationin interface- IBatchSpout
 
- 
getOutputFields- Specified by:
- getOutputFieldsin interface- IBatchSpout
 
 
-