public class SimplifiedTransferQueueBundler extends TransferQueueBundler
TP.TransferQueueBundler but does not allocate
memory except for the buffer itself and does not use complex data structures.| Modifier and Type | Field and Description |
|---|---|
protected int |
curr |
protected static int |
MSG_BUF_SIZE |
protected Message[] |
msg_queue |
bundler_thread, queue, remove_queue, running, THREAD_NAME| Modifier | Constructor and Description |
|---|---|
protected |
SimplifiedTransferQueueBundler(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMessage(Message msg,
long size) |
protected void |
sendBundledMessages()
Sends all messages in the map.
|
protected void |
sendSingleMessage(Message msg,
ByteArrayDataOutputStream output) |
_stop, assertPositive, getBufferSize, getThread, init, removeQueueSize, removeQueueSize, run, send, start, stop, stopAndFlushnumMessages, sendMessageList, sendSingleMessageprotected static final int MSG_BUF_SIZE
protected final Message[] msg_queue
protected int curr
protected SimplifiedTransferQueueBundler(int capacity)
protected void addMessage(Message msg, long size)
addMessage in class BaseBundlerprotected void sendBundledMessages()
BaseBundlersendBundledMessages in class BaseBundlerprotected void sendSingleMessage(Message msg, ByteArrayDataOutputStream output)
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.