Class AssignerImpl
java.lang.Object
com.google.api.core.AbstractApiService
com.google.cloud.pubsublite.internal.ProxyService
com.google.cloud.pubsublite.internal.wire.AssignerImpl
- All Implemented Interfaces:
com.google.api.core.ApiService,Assigner,RetryingConnectionObserver<PartitionAssignment>
public class AssignerImpl
extends ProxyService
implements Assigner, RetryingConnectionObserver<PartitionAssignment>
-
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
ConstructorsConstructorDescriptionAssignerImpl(PartitionAssignmentServiceClient client, InitialPartitionAssignmentRequest initialRequest, PartitionAssignmentReceiver receiver) -
Method Summary
Methods inherited from class com.google.cloud.pubsublite.internal.ProxyService
addServices, addServices, doStart, doStop, handlePermanentError, onPermanentError, start, stopMethods inherited from class com.google.api.core.AbstractApiService
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.core.ApiService
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Constructor Details
-
AssignerImpl
public AssignerImpl(PartitionAssignmentServiceClient client, InitialPartitionAssignmentRequest initialRequest, PartitionAssignmentReceiver receiver) throws com.google.api.gax.rpc.ApiException - Throws:
com.google.api.gax.rpc.ApiException
-
-
Method Details
-
triggerReinitialize
- Specified by:
triggerReinitializein interfaceRetryingConnectionObserver<PartitionAssignment>
-
onClientResponse
- Specified by:
onClientResponsein interfaceRetryingConnectionObserver<PartitionAssignment>- Throws:
CheckedApiException
-