stream.storm
Class ClockSpout
java.lang.Object
backtype.storm.topology.base.BaseComponent
backtype.storm.topology.base.BaseRichSpout
stream.storm.ClockSpout
- All Implemented Interfaces:
- backtype.storm.spout.ISpout, backtype.storm.topology.IComponent, backtype.storm.topology.IRichSpout, Serializable
public class ClockSpout
- extends backtype.storm.topology.base.BaseRichSpout
- Author:
- chris
- See Also:
- Serialized Form
|
Method Summary |
void |
declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer)
|
void |
nextTuple()
|
void |
open(Map conf,
backtype.storm.task.TopologyContext context,
backtype.storm.spout.SpoutOutputCollector collector)
|
| Methods inherited from class backtype.storm.topology.base.BaseRichSpout |
ack, activate, close, deactivate, fail |
| Methods inherited from class backtype.storm.topology.base.BaseComponent |
getComponentConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface backtype.storm.topology.IComponent |
getComponentConfiguration |
ClockSpout
public ClockSpout(Long interval)
open
public void open(Map conf,
backtype.storm.task.TopologyContext context,
backtype.storm.spout.SpoutOutputCollector collector)
- See Also:
ISpout.open(java.util.Map,
backtype.storm.task.TopologyContext,
backtype.storm.spout.SpoutOutputCollector)
nextTuple
public void nextTuple()
- See Also:
ISpout.nextTuple()
declareOutputFields
public void declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer)
- See Also:
backtype.storm.topology.IComponent#declareOutputFields(backtype.storm
.topology.OutputFieldsDeclarer)
Copyright © 2012. All Rights Reserved.