public static interface MessageBatch.Visitor<T>
限定符和类型 | 方法和说明 |
---|---|
T |
visit(Message msg,
MessageBatch batch)
Called when iterating over the message batch
|
T visit(Message msg, MessageBatch batch)
msg
- The message, can be nullbatch
-