Package io.dingodb.sdk.service.connector
Class MetaServiceConnector
java.lang.Object
io.dingodb.sdk.service.connector.ServiceConnector<MetaServiceGrpc.MetaServiceBlockingStub>
io.dingodb.sdk.service.connector.MetaServiceConnector
-
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
ConstructorsConstructorDescriptionMetaServiceConnector(String locations) MetaServiceConnector(List<Location> locations) Deprecated.MetaServiceConnector(Set<Location> locations) -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaServiceConnectorgetMetaServiceConnector(String servers) newStub(io.grpc.ManagedChannel channel) 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
-
MetaServiceConnector
Deprecated. -
MetaServiceConnector
-
MetaServiceConnector
-
-
Method Details
-
getMetaServiceConnector
-
transformToLeaderChannel
public io.grpc.ManagedChannel transformToLeaderChannel(io.grpc.ManagedChannel channel) - Specified by:
transformToLeaderChannelin classServiceConnector<MetaServiceGrpc.MetaServiceBlockingStub>
-
newStub
- Specified by:
newStubin classServiceConnector<MetaServiceGrpc.MetaServiceBlockingStub>
-