public abstract class WorkerSpout extends Object
| Constructor and Description |
|---|
WorkerSpout() |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(Object msgId)
Deprecated.
replaced by
ack(WorkerTuple) ()} |
void |
ack(WorkerTuple workerTuple) |
void |
close() |
void |
fail(Object msgId)
Deprecated.
replaced by
fail(WorkerTuple) ()} |
void |
fail(WorkerTuple workerTuple) |
abstract WorkerTuple |
nextTuple()
Get the next tuple from the queue.
|
void |
open() |
public void open()
public void close()
public void ack(WorkerTuple workerTuple)
@Deprecated public void ack(Object msgId)
ack(WorkerTuple) ()}public void fail(WorkerTuple workerTuple)
@Deprecated public void fail(Object msgId)
fail(WorkerTuple) ()}public abstract WorkerTuple nextTuple() throws Exception
ExceptionCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.