public class SinglePartitionSubscriber extends ProxyService implements Subscriber
| Constructor and Description |
|---|
SinglePartitionSubscriber(com.google.cloud.pubsub.v1.MessageReceiver receiver,
MessageTransformer<SequencedMessage,com.google.pubsub.v1.PubsubMessage> transformer,
com.google.cloud.pubsublite.cloudpubsub.internal.AckSetTracker ackSetTracker,
NackHandler nackHandler,
ResettableSubscriberFactory wireSubscriberFactory,
FlowControlSettings flowControlSettings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handlePermanentError(CheckedApiException error) |
protected void |
start() |
protected void |
stop() |
addServices, addServices, doStart, doStop, onPermanentErroraddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic SinglePartitionSubscriber(com.google.cloud.pubsub.v1.MessageReceiver receiver,
MessageTransformer<SequencedMessage,com.google.pubsub.v1.PubsubMessage> transformer,
com.google.cloud.pubsublite.cloudpubsub.internal.AckSetTracker ackSetTracker,
NackHandler nackHandler,
ResettableSubscriberFactory wireSubscriberFactory,
FlowControlSettings flowControlSettings)
throws com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.ApiExceptionprotected void handlePermanentError(CheckedApiException error)
handlePermanentError in class ProxyServiceprotected void start()
throws CheckedApiException
start in class ProxyServiceCheckedApiExceptionprotected void stop()
stop in class ProxyServiceCopyright © 2022 Google LLC. All rights reserved.