Constructor and Description |
---|
BaseTaskHook() |
Modifier and Type | Method and Description |
---|---|
void |
boltAck(BoltAckInfo info)
Called in bolt everytime a tuple gets acked
|
void |
boltExecute(BoltExecuteInfo info)
Called in bolt everytime a tuple gets executed
|
void |
boltFail(BoltFailInfo info)
Called in bolt everytime a tuple gets failed
|
void |
cleanup()
Called just before the spout/bolt's cleanup method is called.
|
void |
emit(EmitInfo info)
Called everytime a tuple is emitted in spout/bolt
|
void |
prepare(java.util.Map conf,
TopologyContext context)
Called after the spout/bolt's open/prepare method is called
conf is the Config thats passed to the topology
|
void |
spoutAck(SpoutAckInfo info)
Called in spout everytime a tuple gets acked
|
void |
spoutFail(SpoutFailInfo info)
Called in spout everytime a tuple gets failed
|
public void prepare(java.util.Map conf, TopologyContext context)
ITaskHook
public void cleanup()
ITaskHook
public void emit(EmitInfo info)
ITaskHook
public void spoutAck(SpoutAckInfo info)
ITaskHook
public void spoutFail(SpoutFailInfo info)
ITaskHook
public void boltAck(BoltAckInfo info)
ITaskHook
public void boltFail(BoltFailInfo info)
ITaskHook
public void boltExecute(BoltExecuteInfo info)
ITaskHook
boltExecute
in interface ITaskHook