public class MessageBuffer extends Object
Constructor and Description |
---|
MessageBuffer(int mesageBatchSize) |
Modifier and Type | Method and Description |
---|---|
org.apache.storm.messaging.netty.MessageBatch |
add(TaskMessage msg) |
org.apache.storm.messaging.netty.MessageBatch |
drain() |
boolean |
isEmpty() |
public org.apache.storm.messaging.netty.MessageBatch add(TaskMessage msg)
public boolean isEmpty()
public org.apache.storm.messaging.netty.MessageBatch drain()
Copyright © 2023 The Apache Software Foundation. All rights reserved.