Interface BambooAgentMessageBatch<T>

All Superinterfaces:
BambooAgentMessage, Serializable
All Known Implementing Classes:
BatchRemoteBambooMessage, LogMessageBatch

public interface BambooAgentMessageBatch<T> extends BambooAgentMessage
  • Method Details

    • add

      void add(@NotNull T bambooAgentMessage)
    • size

      int size()
    • shouldStartNewBatch

      boolean shouldStartNewBatch(@NotNull @NotNull BambooAgentMessage bambooAgentMessage)
    • isExpensive

      boolean isExpensive()
      If true, the batch is going to be expensive to process.