Package io.dingodb.sdk.service.connector
Class StoreServiceConnector
java.lang.Object
io.dingodb.sdk.service.connector.ServiceConnector<StoreServiceGrpc.StoreServiceBlockingStub>
io.dingodb.sdk.service.connector.StoreServiceConnector
public class StoreServiceConnector
extends ServiceConnector<StoreServiceGrpc.StoreServiceBlockingStub>
-
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
ConstructorsConstructorDescriptionStoreServiceConnector(Supplier<Location> leaderSupplier) StoreServiceConnector(Supplier<Location> leaderSupplier, List<Location> locations) Deprecated. -
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
-
StoreServiceConnector
-
StoreServiceConnector
@Deprecated public StoreServiceConnector(Supplier<Location> leaderSupplier, List<Location> locations) Deprecated.
-
-
Method Details
-
transformToLeaderChannel
protected io.grpc.ManagedChannel transformToLeaderChannel(io.grpc.ManagedChannel channel) - Specified by:
transformToLeaderChannelin classServiceConnector<StoreServiceGrpc.StoreServiceBlockingStub>
-
newStub
- Specified by:
newStubin classServiceConnector<StoreServiceGrpc.StoreServiceBlockingStub>
-