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 protected
ProxyService(com.google.api.core.ApiService... services)
protected
ProxyService(Collection<T> services)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addServices(com.google.api.core.ApiService... services)
protected <T extends com.google.api.core.ApiService>
voidaddServices(Collection<T> services)
protected void
doStart()
protected void
doStop()
protected void
handlePermanentError(CheckedApiException error)
protected void
onPermanentError(CheckedApiException error)
protected void
start()
protected void
stop()
-
-
-
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:
doStart
in classcom.google.api.core.AbstractApiService
-
doStop
protected final void doStop()
- Specified by:
doStop
in classcom.google.api.core.AbstractApiService
-
-