Class ProxyService
java.lang.Object
com.google.api.core.AbstractApiService
com.google.cloud.pubsublite.internal.ProxyService
- All Implemented Interfaces:
com.google.api.core.ApiService
- Direct Known Subclasses:
AckSetTrackerImpl,ApiExceptionPublisher,AssignerImpl,AssigningSubscriber,BatchingCommitter,CommitterImpl,MultiPartitionSubscriber,PartitionCountWatchingPublisher,PublisherImpl,RoutingPublisher,SequenceAssigningPublisher,SinglePartitionPublisher,SinglePartitionSubscriber,SubscriberImpl,WrappingPublisher
public abstract class ProxyService
extends com.google.api.core.AbstractApiService
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProxyService(com.google.api.core.ApiService... services) protectedProxyService(Collection<T> services) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddServices(com.google.api.core.ApiService... services) protected final <T extends com.google.api.core.ApiService>
voidaddServices(Collection<T> services) protected final voiddoStart()protected final voiddoStop()protected voidprotected final voidprotected voidstart()protected voidstop()Methods inherited from class com.google.api.core.AbstractApiService
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync
-
Constructor Details
-
ProxyService
-
ProxyService
protected ProxyService(com.google.api.core.ApiService... services) throws com.google.api.gax.rpc.ApiException - Throws:
com.google.api.gax.rpc.ApiException
-
-
Method Details
-
addServices
protected final <T extends com.google.api.core.ApiService> void addServices(Collection<T> services) throws com.google.api.gax.rpc.ApiException - Throws:
com.google.api.gax.rpc.ApiException
-
addServices
protected final void addServices(com.google.api.core.ApiService... services) throws com.google.api.gax.rpc.ApiException - Throws:
com.google.api.gax.rpc.ApiException
-
start
- Throws:
CheckedApiException
-
stop
- Throws:
CheckedApiException
-
handlePermanentError
-
onPermanentError
-
doStart
protected final void doStart()- Specified by:
doStartin classcom.google.api.core.AbstractApiService
-
doStop
protected final void doStop()- Specified by:
doStopin classcom.google.api.core.AbstractApiService
-