Class ConnectedCommitterImpl
java.lang.Object
com.google.cloud.pubsublite.internal.wire.SingleConnection<StreamingCommitCursorRequest,StreamingCommitCursorResponse,SequencedCommitCursorResponse>
com.google.cloud.pubsublite.internal.wire.ConnectedCommitterImpl
- All Implemented Interfaces:
com.google.api.gax.rpc.ResponseObserver<StreamingCommitCursorResponse>,AutoCloseable
public class ConnectedCommitterImpl
extends SingleConnection<StreamingCommitCursorRequest,StreamingCommitCursorResponse,SequencedCommitCursorResponse>
-
Field Summary
Fields inherited from class com.google.cloud.pubsublite.internal.wire.SingleConnection
DEFAULT_STREAM_IDLE_TIMEOUT -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidMethods inherited from class com.google.cloud.pubsublite.internal.wire.SingleConnection
close, initialize, onComplete, onError, onResponse, onStart, sendToClient, sendToStream, setErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
handleStreamResponse
protected void handleStreamResponse(StreamingCommitCursorResponse response) throws CheckedApiException - Specified by:
handleStreamResponsein classSingleConnection<StreamingCommitCursorRequest,StreamingCommitCursorResponse, SequencedCommitCursorResponse> - Throws:
CheckedApiException
-
commit
-