public class StartPartitionSessionEventImpl extends Object implements StartPartitionSessionEvent
| Constructor and Description |
|---|
StartPartitionSessionEventImpl(PartitionSession partitionSession,
long committedOffset,
OffsetsRange partitionOffsets,
Consumer<StartPartitionSessionSettings> confirmCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
confirm() |
void |
confirm(StartPartitionSessionSettings settings) |
long |
getCommittedOffset() |
OffsetsRange |
getPartitionOffsets() |
PartitionSession |
getPartitionSession() |
public StartPartitionSessionEventImpl(PartitionSession partitionSession, long committedOffset, OffsetsRange partitionOffsets, Consumer<StartPartitionSessionSettings> confirmCallback)
public PartitionSession getPartitionSession()
getPartitionSession in interface StartPartitionSessionEventpublic long getCommittedOffset()
getCommittedOffset in interface StartPartitionSessionEventpublic OffsetsRange getPartitionOffsets()
getPartitionOffsets in interface StartPartitionSessionEventpublic void confirm()
confirm in interface StartPartitionSessionEventpublic void confirm(StartPartitionSessionSettings settings)
confirm in interface StartPartitionSessionEventCopyright © 2025. All rights reserved.