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,
SubscriberFactory wireSubscriberFactory,
FlowControlSettings flowControlSettings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handlePermanentError(io.grpc.StatusException 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,
SubscriberFactory wireSubscriberFactory,
FlowControlSettings flowControlSettings)
throws io.grpc.StatusException
io.grpc.StatusExceptionprotected void handlePermanentError(io.grpc.StatusException error)
handlePermanentError in class ProxyServiceprotected void start()
start in class ProxyServiceprotected void stop()
stop in class ProxyServiceCopyright © 2020 Google LLC. All rights reserved.