public class PartitionSessionImpl extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionSessionImpl.Builder
BUILDER
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
addBatches(List<tech.ydb.proto.topic.YdbTopic.StreamReadMessage.ReadResponse.Batch> batches) |
long |
getId() |
long |
getPartitionId() |
String |
getPath() |
PartitionSession |
getSessionInfo() |
void |
handleCommitResponse(long committedOffset) |
static PartitionSessionImpl.Builder |
newBuilder() |
void |
shutdown() |
public static PartitionSessionImpl.Builder newBuilder()
public long getId()
public long getPartitionId()
public String getPath()
public PartitionSession getSessionInfo()
public CompletableFuture<Void> addBatches(List<tech.ydb.proto.topic.YdbTopic.StreamReadMessage.ReadResponse.Batch> batches)
public void handleCommitResponse(long committedOffset)
public void shutdown()
Copyright © 2023. All rights reserved.