public class RetryableSender extends Sender
| Modifier and Type | Class and Description |
|---|---|
static class |
RetryableSender.Config |
static class |
RetryableSender.RetryOverException |
Sender.Instantiator| Modifier | Constructor and Description |
|---|---|
protected |
RetryableSender(RetryableSender.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Sender |
getBaseSender() |
RetryStrategy |
getRetryStrategy() |
boolean |
isAvailable() |
boolean |
isClosed() |
protected void |
sendInternal(java.util.List<java.nio.ByteBuffer> dataList,
byte[] ackToken) |
java.lang.String |
toString() |
send, send, sendWithAckprotected RetryableSender(RetryableSender.Config config)
public void close()
throws java.io.IOException
java.io.IOExceptionpublic boolean isAvailable()
isAvailable in class Senderprotected void sendInternal(java.util.List<java.nio.ByteBuffer> dataList,
byte[] ackToken)
throws java.io.IOException
sendInternal in class Senderjava.io.IOExceptionpublic Sender getBaseSender()
public RetryStrategy getRetryStrategy()
public boolean isClosed()
public java.lang.String toString()
toString in class java.lang.Object