public class AssignerImpl extends ProxyService implements Assigner, RetryingConnectionObserver<PartitionAssignment>
| Constructor and Description |
|---|
AssignerImpl(PartitionAssignmentServiceClient client,
InitialPartitionAssignmentRequest initialRequest,
PartitionAssignmentReceiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClientResponse(PartitionAssignment value) |
void |
triggerReinitialize(CheckedApiException streamError) |
addServices, addServices, doStart, doStop, handlePermanentError, onPermanentError, start, stopaddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncpublic AssignerImpl(PartitionAssignmentServiceClient client, InitialPartitionAssignmentRequest initialRequest, PartitionAssignmentReceiver receiver) throws com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.ApiExceptionpublic void triggerReinitialize(CheckedApiException streamError)
triggerReinitialize in interface RetryingConnectionObserver<PartitionAssignment>public void onClientResponse(PartitionAssignment value) throws CheckedApiException
onClientResponse in interface RetryingConnectionObserver<PartitionAssignment>CheckedApiExceptionCopyright © 2023 Google LLC. All rights reserved.