public class AssignerImpl extends TrivialProxyService 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() |
handlePermanentError, start, stopaddServices, addServices, doStart, doStop, onPermanentErroraddListener, 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()
triggerReinitialize in interface RetryingConnectionObserver<PartitionAssignment>public void onClientResponse(PartitionAssignment value) throws CheckedApiException
onClientResponse in interface RetryingConnectionObserver<PartitionAssignment>CheckedApiExceptionCopyright © 2021 Google LLC. All rights reserved.