public class Batch extends Object
Constructor and Description |
---|
Batch() |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(Message message) |
boolean |
complete() |
int |
getBatchSize() |
List<Message> |
getMessages() |
byte |
getProtocol() |
boolean |
isEmpty() |
void |
setBatchSize(int size) |
void |
setProtocol(byte protocol) |
int |
size() |
public void addMessage(Message message)
public int size()
public void setBatchSize(int size)
public int getBatchSize()
public boolean isEmpty()
public boolean complete()
public byte getProtocol()
public void setProtocol(byte protocol)
Copyright © 2017. All rights reserved.