public class BatchRemoteBambooMessage extends Object implements BambooAgentMessageBatch<BambooAgentMessage>
RemoteBambooMessage
that contains a List
of messages to be delivered in one goBambooAgentMessageBatch.BatchFactory
Modifier and Type | Method and Description |
---|---|
void |
add(BambooAgentMessage bambooAgentMessage) |
Object |
deliver()
Delivers the message to the appropriate object in the local virtual machine.
|
static BambooAgentMessageBatch.BatchFactory |
descriptor() |
boolean |
isExpensive()
If true, the batch is going to be expensive to process.
|
boolean |
shouldStartNewBatch(BambooAgentMessage bambooAgentMessage) |
int |
size() |
String |
toString() |
public void add(@NotNull BambooAgentMessage bambooAgentMessage)
add
in interface BambooAgentMessageBatch<BambooAgentMessage>
public Object deliver()
BambooAgentMessage
deliver
in interface BambooAgentMessage
public int size()
size
in interface BambooAgentMessageBatch<BambooAgentMessage>
public boolean shouldStartNewBatch(@NotNull BambooAgentMessage bambooAgentMessage)
shouldStartNewBatch
in interface BambooAgentMessageBatch<BambooAgentMessage>
public boolean isExpensive()
BambooAgentMessageBatch
isExpensive
in interface BambooAgentMessageBatch<BambooAgentMessage>
public static BambooAgentMessageBatch.BatchFactory descriptor()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.