| 接口 | 说明 |
|---|---|
| HostMapping | |
| ReadOnlyPDClient |
Readonly PD client including only reading related interface Supposed for TiDB-like use cases
|
| 类 | 说明 |
|---|---|
| AbstractGRPCClient<BlockingStubT extends io.grpc.stub.AbstractStub<BlockingStubT>,FutureStubT extends io.grpc.stub.AbstractFutureStub<FutureStubT>> | |
| BytePairWrapper | |
| ByteWrapper | |
| ConfigUtils | |
| DefaultHostMapping | |
| ExtendedDateTime |
Extend joda DateTime to support micro second
|
| KVClient | |
| Main | |
| MetricsServer | |
| PDClient | |
| Snapshot | |
| StoreVersion | |
| TiBatchWriteUtils | |
| TiConfiguration | |
| TiDBJDBCClient | |
| TiSession |
TiSession is the holder for PD Client, Store pdClient and PD Cache All sessions share common
region store connection pool but separated PD conn and cache for better concurrency
TiSession is thread-safe but it's also recommended to have multiple session avoiding lock
contention
|
| Utils | |
| Version |
| 枚举 | 说明 |
|---|---|
| PDChecker | |
| TiConfiguration.ApiVersion | |
| TiConfiguration.KVMode | |
| TiConfiguration.ReplicaRead |
Copyright © 2023 PingCAP. All rights reserved.