Package org.jgroups.protocols
Class PerDestinationBundler.SendBuffer
- java.lang.Object
-
- org.jgroups.protocols.PerDestinationBundler.SendBuffer
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- PerDestinationBundler
protected class PerDestinationBundler.SendBuffer extends java.lang.Object implements java.lang.Runnable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SendBuffer(Address dest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAndSendIfSizeExceeded(Message msg)
protected void
addMessage(Message msg, int size)
java.lang.String
dump()
void
run()
protected void
send(Message msg)
protected void
sendBundledMessages()
protected void
sendMessages(Address dest, Address src, java.util.List<Message> list)
protected int
size()
PerDestinationBundler.SendBuffer
start()
void
stop()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SendBuffer
protected SendBuffer(Address dest)
-
-
Method Detail
-
dump
public java.lang.String dump()
-
start
public PerDestinationBundler.SendBuffer start()
-
stop
public void stop()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
addAndSendIfSizeExceeded
protected void addAndSendIfSizeExceeded(Message msg)
-
addMessage
protected void addMessage(Message msg, int size)
-
send
protected void send(Message msg) throws java.lang.Exception
- Throws:
java.lang.Exception
-
sendBundledMessages
protected void sendBundledMessages()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
size
protected int size()
-
-