Class MultiPartitionSubscriber

java.lang.Object
com.google.api.core.AbstractApiService
com.google.cloud.pubsublite.internal.ProxyService
com.google.cloud.pubsublite.cloudpubsub.internal.MultiPartitionSubscriber
All Implemented Interfaces:
com.google.api.core.ApiService, com.google.cloud.pubsub.v1.SubscriberInterface, Subscriber

public class MultiPartitionSubscriber extends ProxyService implements Subscriber
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.api.core.ApiService

    com.google.api.core.ApiService.Listener, com.google.api.core.ApiService.State
  • Method Summary

    Modifier and Type
    Method
    Description
    static Subscriber
    of(List<com.google.api.core.ApiService> services)
     

    Methods inherited from class com.google.cloud.pubsublite.internal.ProxyService

    addServices, addServices, doStart, doStop, handlePermanentError, onPermanentError, start, stop

    Methods inherited from class com.google.api.core.AbstractApiService

    addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.api.core.ApiService

    addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
  • Method Details

    • of

      public static Subscriber of(List<com.google.api.core.ApiService> services) throws com.google.api.gax.rpc.ApiException
      Throws:
      com.google.api.gax.rpc.ApiException