public class NANDSpout extends Object implements storm.trident.spout.IBatchSpout
| Constructor and Description |
|---|
NANDSpout() |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(long batchId) |
void |
close() |
protected Instance<Boolean> |
createRandomNAND() |
void |
emitBatch(long batchId,
storm.trident.operation.TridentCollector collector) |
Map |
getComponentConfiguration() |
backtype.storm.tuple.Fields |
getOutputFields() |
protected Double |
noise(Double value) |
void |
open(Map conf,
backtype.storm.task.TopologyContext context) |
public void open(Map conf, backtype.storm.task.TopologyContext context)
open in interface storm.trident.spout.IBatchSpoutpublic void emitBatch(long batchId,
storm.trident.operation.TridentCollector collector)
emitBatch in interface storm.trident.spout.IBatchSpoutpublic void ack(long batchId)
ack in interface storm.trident.spout.IBatchSpoutpublic void close()
close in interface storm.trident.spout.IBatchSpoutpublic Map getComponentConfiguration()
getComponentConfiguration in interface storm.trident.spout.IBatchSpoutpublic backtype.storm.tuple.Fields getOutputFields()
getOutputFields in interface storm.trident.spout.IBatchSpoutCopyright © 2014. All rights reserved.