public static class RegionStoreClient.RegionStoreClientBuilder extends Object
Constructor and Description |
---|
RegionStoreClientBuilder(TiConfiguration conf,
ChannelFactory channelFactory,
RegionManager regionManager,
PDClient pdClient) |
Modifier and Type | Method and Description |
---|---|
RegionStoreClient |
build(com.google.protobuf.ByteString key) |
RegionStoreClient |
build(com.google.protobuf.ByteString key,
BackOffer backOffer) |
RegionStoreClient |
build(com.google.protobuf.ByteString key,
TiStoreType storeType) |
RegionStoreClient |
build(com.google.protobuf.ByteString key,
TiStoreType storeType,
BackOffer backOffer) |
RegionStoreClient |
build(TiRegion region) |
RegionStoreClient |
build(TiRegion region,
BackOffer backOffer) |
RegionStoreClient |
build(TiRegion region,
TiStore store) |
RegionStoreClient |
build(TiRegion region,
TiStore store,
TiStoreType storeType) |
RegionManager |
getRegionManager() |
public RegionStoreClientBuilder(TiConfiguration conf, ChannelFactory channelFactory, RegionManager regionManager, PDClient pdClient)
public RegionStoreClient build(TiRegion region, TiStore store, TiStoreType storeType) throws GrpcException
GrpcException
public RegionStoreClient build(TiRegion region, TiStore store) throws GrpcException
GrpcException
public RegionStoreClient build(com.google.protobuf.ByteString key) throws GrpcException
GrpcException
public RegionStoreClient build(com.google.protobuf.ByteString key, BackOffer backOffer) throws GrpcException
GrpcException
public RegionStoreClient build(com.google.protobuf.ByteString key, TiStoreType storeType) throws GrpcException
GrpcException
public RegionStoreClient build(com.google.protobuf.ByteString key, TiStoreType storeType, BackOffer backOffer) throws GrpcException
GrpcException
public RegionStoreClient build(TiRegion region) throws GrpcException
GrpcException
public RegionStoreClient build(TiRegion region, BackOffer backOffer) throws GrpcException
GrpcException
public RegionManager getRegionManager()
Copyright © 2024 PingCAP. All rights reserved.