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)
IConnectionCallback
A batch of new messages have arrived to be processed
recv
in interface IConnectionCallback
batch
- the messages to be processedCopyright © 2022 The Apache Software Foundation. All Rights Reserved.