public class StopPartitionSessionEventImpl extends Object implements StopPartitionSessionEvent
| Constructor and Description |
|---|
StopPartitionSessionEventImpl(PartitionSession partitionSession,
long committedOffset,
Runnable confirmCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
confirm() |
long |
getCommittedOffset() |
Long |
getPartitionId() |
PartitionSession |
getPartitionSession() |
long |
getPartitionSessionId() |
public StopPartitionSessionEventImpl(PartitionSession partitionSession, long committedOffset, Runnable confirmCallback)
public PartitionSession getPartitionSession()
getPartitionSession in interface StopPartitionSessionEventpublic long getPartitionSessionId()
getPartitionSessionId in interface StopPartitionSessionEventpublic long getCommittedOffset()
getCommittedOffset in interface StopPartitionSessionEventpublic Long getPartitionId()
getPartitionId in interface StopPartitionSessionEventpublic void confirm()
confirm in interface StopPartitionSessionEventCopyright © 2025. All rights reserved.