Signal that no more messages will be sent.
Signal that no more messages will be sent. Many implementations need this to do proper cleanup. This operation may happen asynchronously.
future that resolves when closing is complete
Request propagation of messages.
Request propagation of messages. The returned bitset contains the indexes of messages known to be sent successfully. Note that for some implementations, it is possible for a message to be sent and for the ack to be lost (e.g. if the send is occurring over a network).
a batch of messages
a bitset containing indexes of messages that were sent successfully
Request propagation of messages.
Request propagation of messages. The return value indicates the number of messages known to be sent successfully. Note that for some implementations, it is possible for a message to be sent and for the ack to be lost (e.g. if the send is occurring over a network).
a batch of messages
the number of messages propagated
(Since version 0.7.0) use sendBatch
Beams can accept messages and forward them along. The propagate method may throw a DefunctBeamException, which means the beam should be discarded (after calling close()).