public abstract class ReaderImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AtomicBoolean |
isStopped |
| Constructor and Description |
|---|
ReaderImpl(TopicRpc topicRpc,
ReaderSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
handleClosePartitionSession(PartitionSession partitionSession) |
protected abstract void |
handleCloseReader() |
protected void |
handleCommitOffsetResponse(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.CommitOffsetResponse commitOffsetResponse) |
protected abstract CompletableFuture<Void> |
handleDataReceivedEvent(DataReceivedEvent event) |
protected abstract void |
handleStartPartitionSessionRequest(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StartPartitionSessionRequest request) |
protected abstract void |
handleStopPartitionSession(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StopPartitionSessionRequest request) |
protected void |
handleStopPartitionSessionRequest(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StopPartitionSessionRequest request) |
protected CompletableFuture<Void> |
initImpl() |
protected void |
sendStartPartitionSessionResponse(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StartPartitionSessionRequest request,
StartPartitionSessionSettings startSettings) |
protected void |
sendStopPartitionSessionResponse(long partitionSessionId) |
protected CompletableFuture<Void> |
shutdownImpl() |
protected final AtomicBoolean isStopped
public ReaderImpl(TopicRpc topicRpc, ReaderSettings settings)
protected CompletableFuture<Void> initImpl()
protected void sendStartPartitionSessionResponse(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StartPartitionSessionRequest request,
StartPartitionSessionSettings startSettings)
protected void sendStopPartitionSessionResponse(long partitionSessionId)
protected void handleCommitOffsetResponse(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.CommitOffsetResponse commitOffsetResponse)
protected void handleStopPartitionSessionRequest(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StopPartitionSessionRequest request)
protected abstract CompletableFuture<Void> handleDataReceivedEvent(DataReceivedEvent event)
protected abstract void handleStartPartitionSessionRequest(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StartPartitionSessionRequest request)
protected abstract void handleStopPartitionSession(tech.ydb.proto.topic.YdbTopic.StreamReadMessage.StopPartitionSessionRequest request)
protected abstract void handleClosePartitionSession(PartitionSession partitionSession)
protected abstract void handleCloseReader()
protected CompletableFuture<Void> shutdownImpl()
Copyright © 2023. All rights reserved.