public interface BambooAgentMessageBatch<T> extends BambooAgentMessage
Modifier and Type | Interface and Description |
---|---|
static interface |
BambooAgentMessageBatch.BatchFactory |
Modifier and Type | Method and Description |
---|---|
void |
add(T bambooAgentMessage) |
boolean |
isExpensive()
If true, the batch is going to be expensive to process.
|
boolean |
shouldStartNewBatch(BambooAgentMessage bambooAgentMessage) |
int |
size() |
deliver
void add(@NotNull T bambooAgentMessage)
int size()
boolean shouldStartNewBatch(@NotNull BambooAgentMessage bambooAgentMessage)
boolean isExpensive()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.