Package org.jgroups.protocols
Class BatchBundler.Buffer
- java.lang.Object
-
- org.jgroups.protocols.BatchBundler.Buffer
-
- Enclosing class:
- BatchBundler
protected class BatchBundler.Buffer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanclosedprivate Addressdestprivate intindexprivate Message[]msgsprivate ByteArrayDataOutputStreamoutputprivate longtotal_bytes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaddMessage(Message msg)protected voidclose()protected voidsendBatch(boolean due_to_timeout)protected voidsendMessageList(Address dest, Address src, Message[] list, int length)
-
-
-
Field Detail
-
dest
private final Address dest
-
msgs
private final Message[] msgs
-
index
private int index
-
closed
private boolean closed
-
total_bytes
private long total_bytes
-
output
private final ByteArrayDataOutputStream output
-
-
Constructor Detail
-
Buffer
protected Buffer(Address address)
-
-