Package io.dingodb.sdk.service.connector
Class IndexServiceConnector
java.lang.Object
io.dingodb.sdk.service.connector.ServiceConnector<IndexServiceGrpc.IndexServiceBlockingStub>
io.dingodb.sdk.service.connector.IndexServiceConnector
public class IndexServiceConnector
extends ServiceConnector<IndexServiceGrpc.IndexServiceBlockingStub>
-
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
ConstructorsConstructorDescriptionIndexServiceConnector(Supplier<Location> leaderSupplier) Deprecated.IndexServiceConnector(Supplier<Location> leaderSupplier, int retryTimes) -
Method Summary
Modifier and TypeMethodDescriptionnewStub(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
-
IndexServiceConnector
Deprecated. -
IndexServiceConnector
-
-
Method Details
-
transformToLeaderChannel
protected io.grpc.ManagedChannel transformToLeaderChannel(io.grpc.ManagedChannel channel) - Specified by:
transformToLeaderChannelin classServiceConnector<IndexServiceGrpc.IndexServiceBlockingStub>
-
newStub
- Specified by:
newStubin classServiceConnector<IndexServiceGrpc.IndexServiceBlockingStub>
-