Package io.dingodb.sdk.service.connector
Class CoordinatorServiceConnector
java.lang.Object
io.dingodb.sdk.service.connector.ServiceConnector<CoordinatorServiceGrpc.CoordinatorServiceBlockingStub>
io.dingodb.sdk.service.connector.CoordinatorServiceConnector
public class CoordinatorServiceConnector
extends ServiceConnector<CoordinatorServiceGrpc.CoordinatorServiceBlockingStub>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.dingodb.sdk.service.connector.ServiceConnector
ServiceConnector.Response<R> -
Field Summary
Fields inherited from class io.dingodb.sdk.service.connector.ServiceConnector
locations, RETRY_TIMES, retryTimes, stubRef -
Constructor Summary
ConstructorsConstructorDescriptionCoordinatorServiceConnector(String locations) CoordinatorServiceConnector(Set<Location> locations) -
Method Summary
Modifier and TypeMethodDescriptionprotected Coordinator.GetCoordinatorMapResponsenewStub(io.grpc.ManagedChannel channel) protected io.grpc.ManagedChanneltransformToLeaderChannel(io.grpc.ManagedChannel channel) Methods inherited from class io.dingodb.sdk.service.connector.ServiceConnector
cleanResponse, close, exec, exec, exec, exec, exec, exec, exec, getStub, newChannel, newChannel, refresh
-
Constructor Details
-
CoordinatorServiceConnector
-
CoordinatorServiceConnector
-
-
Method Details
-
getCoordinatorMap
-
transformToLeaderChannel
protected io.grpc.ManagedChannel transformToLeaderChannel(io.grpc.ManagedChannel channel) - Specified by:
transformToLeaderChannelin classServiceConnector<CoordinatorServiceGrpc.CoordinatorServiceBlockingStub>
-
newStub
protected CoordinatorServiceGrpc.CoordinatorServiceBlockingStub newStub(io.grpc.ManagedChannel channel) - Specified by:
newStubin classServiceConnector<CoordinatorServiceGrpc.CoordinatorServiceBlockingStub>
-