public abstract class BaseRichSpout extends BaseComponent implements IRichSpout
| Constructor and Description |
|---|
BaseRichSpout() |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(java.lang.Object msgId)
Heron has determined that the tuple emitted by this spout with the msgId identifier
has been fully processed.
|
void |
activate()
Called when a spout has been activated out of a deactivated mode.
|
void |
close()
Called when an ISpout is going to be shutdown.
|
void |
deactivate()
Called when a spout has been deactivated.
|
void |
fail(java.lang.Object msgId)
The tuple emitted by this spout with the msgId identifier has failed to be
fully processed.
|
getComponentConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareOutputFields, getComponentConfigurationpublic void close()
ISpout
The one context where close is guaranteed to be called is a topology is killed when running Heron in simulator.
public void activate()
ISpoutpublic void deactivate()
ISpoutdeactivate in interface ISpoutpublic void ack(java.lang.Object msgId)
ISpoutpublic void fail(java.lang.Object msgId)
ISpout