public interface BatchMessageContainer
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the message batch container.
|
void |
discard(Exception ex)
Release the payload and clear the container.
|
long |
getCurrentBatchSize()
Get current message batch size of the message batch container in bytes.
|
int |
getNumMessagesInBatch()
Get count of messages in the message batch container.
|
boolean |
isEmpty()
Check the message batch container is empty.
|
boolean |
isMultiBatches()
Return the batch container batch message in multiple batches.
|
void clear()
boolean isEmpty()
int getNumMessagesInBatch()
long getCurrentBatchSize()
void discard(Exception ex)
ex
- causeboolean isMultiBatches()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.