Package org.apache.storm.messaging
Interface IConnectionCallback
-
- All Known Implementing Classes:
DeserializingConnectionCallback
public interface IConnectionCallbackA class that is called when a TaskMessage arrives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrecv(List<TaskMessage> batch)A batch of new messages have arrived to be processed.
-
-
-
Method Detail
-
recv
void recv(List<TaskMessage> batch)
A batch of new messages have arrived to be processed.- Parameters:
batch- the messages to be processed
-
-