public interface OutboundBuffer
| Modifier and Type | Method and Description |
|---|---|
void |
drain()
Drains the buffer
this method is called in order to drain the buffer,
it is not safe to call drain concurrently,
it is safe to call put and drain concurrently
|
int |
getCapacity() |
int |
getSize() |
String |
getStatus() |
int |
getWeight() |
void |
put(Message... messages)
Add a collection of messages to the buffer
Thread safe
|
void put(Message... messages) throws InterruptedException
messages - collection of elements to be addedInterruptedExceptionvoid drain()
int getSize()
int getWeight()
int getCapacity()
String getStatus()
Copyright © 2019. All rights reserved.