public class AsynchronousSender extends Object implements Sender, Closeable
Disruptor to invoke the SynchronousSender in a dedicated thread.
If the ringbuffer is full, it either drops the message or uses SynchronousSender
to publish messages in the calling thread - configurable in builder.| Modifier and Type | Class and Description |
|---|---|
static class |
AsynchronousSender.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AsynchronousSender.Builder |
builder() |
void |
close() |
void |
send(ByteBuffer msg) |
public void send(ByteBuffer msg)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic static AsynchronousSender.Builder builder()
Copyright © 2021. All rights reserved.