public abstract class WriterImpl extends GrpcStreamRetrier
id, isReconnecting, isStopped, reconnectCounter| Constructor and Description |
|---|
WriterImpl(TopicRpc topicRpc,
WriterSettings settings,
Executor compressionExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<Void> |
flushImpl() |
protected org.slf4j.Logger |
getLogger() |
protected String |
getStreamName() |
protected CompletableFuture<InitResult> |
initImpl() |
protected void |
onShutdown(String reason) |
protected void |
onStreamReconnect() |
protected CompletableFuture<CompletableFuture<WriteAck>> |
sendImpl(Message message,
boolean instant) |
CompletableFuture<Void> |
tryToEnqueue(EnqueuedMessage message,
boolean instant) |
onSessionClosed, shutdownImpl, shutdownImplpublic WriterImpl(TopicRpc topicRpc, WriterSettings settings, Executor compressionExecutor)
protected org.slf4j.Logger getLogger()
getLogger in class GrpcStreamRetrierprotected String getStreamName()
getStreamName in class GrpcStreamRetrierpublic CompletableFuture<Void> tryToEnqueue(EnqueuedMessage message, boolean instant)
protected CompletableFuture<InitResult> initImpl()
protected CompletableFuture<CompletableFuture<WriteAck>> sendImpl(Message message, boolean instant)
protected CompletableFuture<Void> flushImpl()
protected void onStreamReconnect()
onStreamReconnect in class GrpcStreamRetrierprotected void onShutdown(String reason)
onShutdown in class GrpcStreamRetrierCopyright © 2024. All rights reserved.