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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProxyService(com.google.api.core.ApiService... services)protectedProxyService(Collection<T> services)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddServices(com.google.api.core.ApiService... services)protected <T extends com.google.api.core.ApiService>
voidaddServices(Collection<T> services)protected voiddoStart()protected voiddoStop()protected voidhandlePermanentError(CheckedApiException error)protected voidonPermanentError(CheckedApiException error)protected voidstart()protected voidstop()
-
-
-
Constructor Detail
-
ProxyService
protected ProxyService(Collection<T> services)
-
ProxyService
protected ProxyService(com.google.api.core.ApiService... services) throws com.google.api.gax.rpc.ApiException- Throws:
com.google.api.gax.rpc.ApiException
-
-
Method Detail
-
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
protected void start() throws CheckedApiException- Throws:
CheckedApiException
-
stop
protected void stop() throws CheckedApiException- Throws:
CheckedApiException
-
handlePermanentError
protected void handlePermanentError(CheckedApiException error)
-
onPermanentError
protected final void onPermanentError(CheckedApiException error)
-
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
-
-