public interface OutputGroup extends MessageGroup<OutputGroup>, Output<OutputGroup>
Output groups represent structured groups of output messages. Users can use output groups to batch messages in a manner that will be similarly represented on input connections. When messages are grouped, Vertigo guarantees that the other side of the connection(s) will see each of the messages within the group. Additionally, sub-groups may be created, and Vertigo guarantees that sub-groups are sent and ended prior to parent groups ending. This allows for logical grouping of messages.
All messages within a root level output group will be sent on the same connection. In other words, connection selection is performed per-group rather than per-message.
Grouped messages are guaranteed to be ordered just as all Vertigo messages are. However, some components of a group are not ordered. Specifically, if a group is ended before all of its children (groups) have ended, the parent group will wait for the children to end before sending its own end message. This helps Vertigo guarantee that when all children of a group have completed before a parent completing.
| Modifier and Type | Method and Description |
|---|---|
void |
end()
Ends the output group.
|
<T> void |
end(T args)
Ends the output group.
|
id, namedrainHandler, getSendQueueMaxSize, send, send, send, send, send, send, send, send, send, send, send, send, send, send, sendQueueFull, setSendQueueMaxSize, size, vertxgroup, group, groupCopyright © 2013-2014. All Rights Reserved.