public interface InputBatch extends Batch<InputBatch>, Input<InputBatch>, InputGroupSupport<InputBatch>
Input batches are received when an output batch is created and sent. Each input batch has a beginning and end, and Vertigo guarantees that a batch will not receive messages until its start handler is called and will not receive messages after its end handler is called.
| Modifier and Type | Method and Description |
|---|---|
InputBatch |
endHandler(org.vertx.java.core.Handler<Void> handler)
Registers an end handler on the batch.
|
InputBatch |
startHandler(org.vertx.java.core.Handler<Void> handler)
Registers a start handler on the batch.
|
messageHandler, pause, resume, vertxgroupHandlerInputBatch startHandler(org.vertx.java.core.Handler<Void> handler)
handler - A handler to be called when the batch is started.InputBatch endHandler(org.vertx.java.core.Handler<Void> handler)
handler - A handler to be called when the batch is ended.Copyright © 2013-2014. All Rights Reserved.