public class ConnectedCommitterImpl extends SingleConnection<StreamingCommitCursorRequest,StreamingCommitCursorResponse,SequencedCommitCursorResponse> implements ConnectedCommitter
Implements
com.google.cloud.pubsublite.internal.wire.ConnectedCommitterMethods
commit(Offset offset)
public void commit(Offset offset)
Parameter | |
---|---|
Name | Description |
offset | Offset |
handleInitialResponse(StreamingCommitCursorResponse response)
protected void handleInitialResponse(StreamingCommitCursorResponse response)
Parameter | |
---|---|
Name | Description |
response | StreamingCommitCursorResponse |
Exceptions | |
---|---|
Type | Description |
CheckedApiException |
handleStreamResponse(StreamingCommitCursorResponse response)
protected void handleStreamResponse(StreamingCommitCursorResponse response)
Parameter | |
---|---|
Name | Description |
response | StreamingCommitCursorResponse |
Exceptions | |
---|---|
Type | Description |
CheckedApiException |