stream.storm
Class ClockSpout

java.lang.Object
  extended by backtype.storm.topology.base.BaseComponent
      extended by backtype.storm.topology.base.BaseRichSpout
          extended by 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

Constructor Summary
ClockSpout(Long interval)
           
 
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
 

Constructor Detail

ClockSpout

public ClockSpout(Long interval)
Method Detail

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.