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