public class DeserializingConnectionCallback extends Object implements IConnectionCallback
A class that is called when a TaskMessage arrives.
| Constructor and Description |
|---|
DeserializingConnectionCallback(Map conf,
GeneralTopologyContext context,
clojure.lang.IFn callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
recv(List<TaskMessage> batch)
A batch of new messages have arrived to be processed
|
public DeserializingConnectionCallback(Map conf, GeneralTopologyContext context, clojure.lang.IFn callback)
public void recv(List<TaskMessage> batch)
IConnectionCallbackA batch of new messages have arrived to be processed
recv in interface IConnectionCallbackbatch - the messages to be processedCopyright © 2019 The Apache Software Foundation. All Rights Reserved.